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