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