validateWithResults method
- @Deprecated('4.0, to be removed in 5.0, use validate() instead.')
ValidationResults
validateWithResults(
- dynamic instance, {
- bool parseJson = false,
- bool? validateFormats,
})
Implementation
@Deprecated('4.0, to be removed in 5.0, use validate() instead.')
ValidationResults validateWithResults(dynamic instance, {bool parseJson = false, bool? validateFormats}) =>
Validator(this)
.validate(instance, reportMultipleErrors: true, parseJson: parseJson, validateFormats: validateFormats);