SupportValidators class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
validateConfirmPassword(
String? value, String? password) → String? -
Validate
value
(new password) andpassword
(current password) -
validateEmail(
String? value) → String? - Validate given email address
-
validateMobileNumber(
String? value, {bool allowLandNumber = false, bool optional = false, String? pattern}) → String? -
Validate given mobile number.
By default validate SL mobile number patters.
Provide custom
pattern
to validate any format -
validateNIC(
String? value) → String? - Validate given NIC, this method only for SL
-
validatePinCode(
String? value, {int length = 6, bool numbersOnly = true}) → String? - Validate given pin code
-
validateRequired(
String validationMessageKey, dynamic value) → Map< String, String> ? - Validate given value