Skip to main content

Validator class

<p>This class creats various validator methods for the application. They are used to validate information given by the users.</p>

Constructors

Validator ()

Properties

hashCodeint

The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>

runtimeTypeType

A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>

toString() String

A string representation of this object.
<span class="feature">inherited</span>

validateUrlExistence(String url) Future<bool?>

Operators

operator ==(Object other) bool

The equality operator.
<span class="feature">inherited</span>

Static Methods

validateEmail(String email) String?
validateEventForm(String value, String? label) String?
validateFirstName(String value) String?
validateLastName(String value) String?
validatePassword(String password) String?
validatePasswordConfirm(String value, String comparator) String?
validateURL(String value) String?