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