Amount.fromJson constructor

Amount.fromJson(
  1. Map json
)

Implementation

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