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