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