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