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