InputValidationMixin mixin
A mixin providing input validation methods.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
isEmailValid(
String email) → bool - Validates if the given email has a valid format.
-
isNameValid(
String name) → bool - Validates if the given name is at least 6 characters long and not empty.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
passwordStructure(
String value) → bool - Validates if the password meets the specified criteria.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited