CoinSupply.fromJson constructor

CoinSupply.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory CoinSupply.fromJson(Map<String, dynamic> data) {
  return CoinSupply(BigInt.parse((data['value'] ?? '0').toString()));
}