toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (oneTimeWindows != null) 'oneTimeWindows': oneTimeWindows!,
if (timeZone != null) 'timeZone': timeZone!,
if (weeklyWindows != null) 'weeklyWindows': weeklyWindows!,
};