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