Validator class

Constructors

Validator()
factory

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
validateCNIC(String cnic) → String?
validateEmail(String emailAddress) → String?
validateFullname(String fullname) → String?
validatePassword(String password) → String?
validatePasswords(String password, String confirmPassword, {bool withOldPassword = false, String? oldPassword}) → List<String?>
validatePhoneNumber(String mobile) → String?

Operators

operator ==(Object other) → bool
The equality operator.
inherited