diff --git a/cw_nano/lib/nano_balance.dart b/cw_nano/lib/nano_balance.dart index f78ba1a01..ecd6df13b 100644 --- a/cw_nano/lib/nano_balance.dart +++ b/cw_nano/lib/nano_balance.dart @@ -17,7 +17,8 @@ class NanoBalance extends Balance { receivableBalance = stringAmountToBigIntNano(formattedReceivableBalance), super(0, 0); - NanoBalance.fromRawString({required String currentBalance, required String receivableBalance}) + NanoBalance.fromRawString( + {required String currentBalance, required String receivableBalance}) : currentBalance = BigInt.parse(currentBalance), receivableBalance = BigInt.parse(receivableBalance), super(0, 0);