toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (dayOfWeek != null) 'dayOfWeek': dayOfWeek!,
  if (endHour != null) 'endHour': endHour!,
  if (startHour != null) 'startHour': startHour!,
  if (timeZoneResolution != null) 'timeZoneResolution': timeZoneResolution!,
};