PatternValidator class
Validates against a RegExp pattern.
- Inheritance
-
- Object
- FieldValidator
- PatternValidator
Constructors
- PatternValidator(RegExp pattern, {required String message})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
dynamic value, Map< String, dynamic> _) → String? -
Validates
valuein the context offormValues(all current field values).override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited