fromJson method
Implementation
@override
AssetAmount fromJson(Map<String, dynamic> json) {
return AssetAmount.fromQuantity(
AssetCode.fromJson(json['value']['assetCode'] as String),
json['value']['quantity'] as String);
}
@override
AssetAmount fromJson(Map<String, dynamic> json) {
return AssetAmount.fromQuantity(
AssetCode.fromJson(json['value']['assetCode'] as String),
json['value']['quantity'] as String);
}