IdValidator<T extends Result> constructor

IdValidator<T extends Result>({
  1. required ValidatorFunction<T> validator,
  2. String id = '',
  3. bool nullable = false,
  4. bool optional = false,
})

Implementation

IdValidator({
  required ValidatorFunction<T> validator,
  this.id = '',
  super.nullable,
  super.optional,
}) : super(validator);