Map<String, dynamic> toJson() { final Map<String, dynamic> data = <String, dynamic>{}; data['id'] = id; data['reason'] = reason; data['total'] = total; return data; }