toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (daily != null) 'daily': daily!,
if (daysOfWeek != null) 'daysOfWeek': daysOfWeek!,
if (duration != null) 'duration': duration!,
if (singleOccurrenceDate != null)
'singleOccurrenceDate': singleOccurrenceDate!,
if (startTime != null) 'startTime': startTime!,
};