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