Map<String, dynamic> toJson() { return <String, dynamic>{ if (image != null) r'image': image, if (place != null) r'place': place, if (self != null) r'self': self, }; }