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