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