equals<T> static method

Validator equals<T>(
  1. T value
)

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);