AccountModule class
Module managing user profile and credential updates.
Constructors
- AccountModule(SpJwtAuth auth)
- Creates a new AccountModule.
Properties
Methods
-
changePassword(
{required String currentPassword, required String newPassword}) → Future< void> -
Changes the user password given
currentPasswordandnewPassword. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
profile(
) → Future< Map< String, dynamic> > - Retrieves the current user profile.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateProfile(
Map< String, dynamic> data) → Future<Map< String, dynamic> > - Updates profile attributes for the current user.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited