EnumValidator<T> class
Validates that the input is one of the specified values
- Implemented types
-
- Validator<
T>
- Validator<
Constructors
-
EnumValidator(Iterable<
T> values)
Properties
Methods
-
call(
T input) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override