validateWithResults method

  1. @Deprecated('4.0, to be removed in 5.0, use validate() instead.')
ValidationResults? validateWithResults(
  1. dynamic instance, {
  2. bool reportMultipleErrors = false,
  3. bool parseJson = false,
  4. bool? validateFormats,
})

Implementation

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