Validator<T extends Result> constructor

Validator<T extends Result>(
  1. ValidatorFunction<T> _validator, {
  2. bool nullable = false,
  3. bool optional = false,
})

Implementation

Validator(this._validator, {super.nullable, super.optional});