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