Validator class
This class creats various validator methods for the application.
They are used to validate information given by the users.
Constructors
:
Properties
[hashCode] [→ int] : The hash code for this object. ::: features no setterinherited :::
[runtimeType] [→ Type] : A representation of the runtime type of the object. ::: features no setterinherited :::
Methods
[noSuchMethod][([[Invocation] invocation]) → dynamic ] : Invoked when a nonexistent method or property is accessed. ::: features inherited :::
[toString][ [→ String] ] : A string representation of this object. ::: features inherited :::
[validateUrlExistence][([[String] url]) [→ Future[<[bool?]>]] ] : Method to validate already exisiting URL.
Operators
[operator ==][([[Object] other]) [→ bool] ] : The equality operator. ::: features inherited :::
Static Methods
[validateEmail][([[String] email]) [→ String?] ] : Method to validate a user's email.
[validateEventForm][([[String] value, ][[String?] label]) [→ String?] ] : Method to validate event form.
[validateEventTime][([[TimeOfDay] startTime, ][[TimeOfDay] endTime]) [→ String?] ] : Method to validate event time.
[validateFirstName][([[String] value]) [→ String?] ] : Method to validate a user's first name.
[validateLastName][([[String] value]) [→ String?] ] : Method to validate a user's last name.
[validatePassword][([[String] password]) [→ String?] ] : Method to validate password.
[validatePasswordConfirm][([[String] value, ][[String] comparator]) [→ String?] ] : Method to valid password re-entered for confirmation.
[validateURL][([[String] value]) [→ String?] ] : Method to validate an organization's URL.
- talawa
- validators
- Validator class