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