fix: Remove full balance

This commit is contained in:
Blazebrain 2024-07-25 11:33:35 +01:00
parent ea3da361d6
commit 944ee2c672

View file

@ -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);