SuiBalance.fromProto constructor
SuiBalance.fromProto(
- Balance b
Implementation
factory SuiBalance.fromProto(Balance b) => SuiBalance(
coinType: b.coinType,
totalBalance: BigInt.from(b.balance.toInt()),
addressBalance: BigInt.from(b.addressBalance.toInt()),
coinBalance: BigInt.from(b.coinBalance.toInt()),
);