toJson method

  1. @override
Map<String, dynamic> toJson(
  1. AssetAmount object
)

Implementation

@override
Map<String, dynamic> toJson(AssetAmount object) {
  return {'quantity': object.quantity, 'assetCode': object.assetCode};
}