CoinBalance.fromJson constructor
CoinBalance.fromJson(
- dynamic data
Implementation
factory CoinBalance.fromJson(dynamic data) {
return CoinBalance(
data['coinType'],
data['coinObjectCount'],
BigInt.parse((data['totalBalance'] ?? '0').toString()),
data['lockedBalance'],
);
}