WalletBalanceModel.fromAmount constructor
WalletBalanceModel.fromAmount(
- BigInt amount
Implementation
factory WalletBalanceModel.fromAmount(BigInt amount) => WalletBalanceModel(
wei: amount.toString(),
ether:
EtherAmount.inWei(amount).getValueInUnit(EtherUnit.ether).toString(),
hex: '0x${amount.toRadixString(16)}');