core.Map<core.String, core.dynamic> toJson() => { if (intervalDurationDays != null) 'intervalDurationDays': intervalDurationDays!, if (scheduleTime != null) 'scheduleTime': scheduleTime!, };