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