RegExpValidator class
A validator used to validate using regular expressions. Out of the box we have various expressions ready for use - such as phone #s and email addresses. But you may always add your own.
Constructors
- RegExpValidator(String key, String expression)
Properties
Methods
-
isValid(
dynamic value) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isValidEmailAddress(
String? value) → bool -
isValidUSPhoneNumber(
String? value) → bool