TextValidation class
It allows to validate a text field such as the length or if it is match with a regexp
- Inheritance
-
- Object
- Validation<
String> - TextValidation
Constructors
Properties
- errorCode → String?
-
Use a custom error string to differentiate between errors
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- match → RegExp?
-
final
- maxLength → int?
-
final
- minLength → int?
-
final
- notMatch → RegExp?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
String value) → Object? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited