Amount.fromJson constructor
- Map json
Implementation
factory Amount.fromJson(Map json) {
return Amount(
value: BigInt.parse(json['value']),
decimals: json['decimals'],
);
}
factory Amount.fromJson(Map json) {
return Amount(
value: BigInt.parse(json['value']),
decimals: json['decimals'],
);
}