validateWithResults method

  1. @Deprecated('4.0, to be removed in 5.0, use validate() instead.')
ValidationResults validateWithResults(
  1. dynamic instance, {
  2. bool parseJson = false,
  3. 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);