toJson method

Map<String, dynamic> toJson()

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,
  };
}