ValidatorClassExtensions extension

on

Methods

validateOrThrow<T extends Exception>([T exception(Iterable<String> errors)?]) → void

Available on Validator, provided by the ValidatorClassExtensions extension

Validates the object and throws an exception if there are any errors.