equals<T> static method
Gets a validator that requires the control's value to be equals to
argument value
.
The argument value
must not be null.
Implementation
static ValidatorFunction equals<T>(T value) =>
EqualsValidator<T>(value).validate;