toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'amount'] = this.amount;
    json[r'currency'] = this.currency;
  return json;
}