Map<String, dynamic> toJson() { final map = <String, dynamic>{}; map['id'] = id; map['amount'] = amount; map['description'] = description; return map; }