AuthValidator class
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
Static Methods
-
isValid(String? value, {int minLength = 6, int maxLength = 20, RegExp? pattern})
→ bool
-
-
isValidEmail(String? email, [RegExp? pattern])
→ bool
-
-
isValidPassword(String? password, {int minLength = 6, int maxLength = 20, RegExp? pattern})
→ bool
-
-
isValidPhone(String? phone, [RegExp? pattern])
→ bool
-
-
isValidRetypePassword(String? password, String? retypePassword)
→ bool
-
-
isValidSmsCode(String? code)
→ bool
-
-
isValidToken(String? token)
→ bool
-
-
isValidUsername(String? username, {bool withDot = true, RegExp? pattern})
→ bool
-