IdValidator<T extends Result> constructor
- required ValidatorFunction<
T> validator, - String id = '',
- bool nullable = false,
- bool optional = false,
Implementation
IdValidator({
required ValidatorFunction<T> validator,
this.id = '',
super.nullable,
super.optional,
}) : super(validator);