toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'days'] = days;
json[r'hours'] = hours;
json[r'recurrenceTypes'] = recurrenceTypes;
if (calendarItemTypeId != null) {
json[r'calendarItemTypeId'] = calendarItemTypeId;
}
json[r'homeVisit'] = homeVisit;
if (placeId != null) {
json[r'placeId'] = placeId;
}
json[r'unavailable'] = unavailable;
return json;
}