toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final amount = this.amount;
  final currency = this.currency;
  return {'amount': ?amount, 'currency': ?currency};
}