Validate class

Validate provide validation like email, mobile, password, input, etc...

Constructors

Validate()

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

decimalValueFormatter({int decimalPlaceValue = 2, bool allowedSign = false}) → dynamic
validation input decimal value
intValueFormatter() → dynamic
validation input int value
isEmail(String email) bool
validation email address
isMobile(String mobile) bool
validation mobile number (Only Indian pattern and 10 digits mobile number accepted)
isPassword(String password) bool
validation password like password pattern Min 6 and Max 12 characters At least one uppercase character At least one lowercase character At least one number At least one special character @#$!%?
isUsername(String username) bool
validation username Min 6 and Max 18 characters Only support lowercase or uppercase or number character Only support special character ._