Validator class
Class used to validate different input fields like email address, number validation
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
-
alertInputNumberValidation(
{String? number}) → String? -
validateEmailAddress(
{String? email}) → String? -
validateMobileNumber(
{String? number}) → String? -
validatePassword(
{String? password}) → String? -
validateUpiId(
{String? upiId}) → String? -
validateVpa(
String? upiId) → bool
Constants
- passwordMinLength → const int
- pattern → const Pattern
- validMobileNumberPattern → const Pattern
- validNumberPattern → const Pattern
- validUpiIdPattern → const Pattern