SignUpModel class
Model for SignUpPage
- Inheritance
-
- Object
- Listenable
- Model
- SignUpModel
Constructors
Properties
- errorCommon → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- listenerCount → int
-
Returns the number of listeners listening to this model.
no setterinherited
- loading → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → AuthService
-
Get service users
final
- success → bool
-
no setter
Methods
-
addListener(
VoidCallback listener) → void -
listener
will be invoked when the model changes.inherited -
clearError(
) → void - Clear server error
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Should be called only by Model when the model has changed.
inherited
-
removeListener(
VoidCallback listener) → void -
listener
will no longer be invoked when the model changes.inherited -
signUp(
{required String name, required String email, required String password}) → Future< bool> - Get users
-
toString(
) → String -
A string representation of this object.
inherited
-
validateEmail(
BuildContext context, String? value) → String? - Validate email change
-
validateName(
BuildContext context, String? value) → String? - Validate name change
-
validatePassword(
BuildContext context, String? value) → String? - Validate password change
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → SignUpModel - Get ScopedModel