UserManagementProvider class Null safety
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
credentialsInStorage(
) → Future< bool> - Checks if any credentials exist in storage
-
login(
dynamic user) → Future< bool> - Checks credentials and conditionally saves them
-
logout(
) → Future< bool> - Deletes saved credentials from storage
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
putUser(
dynamic user) → Future< void> - Saves user to storage
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Methods
-
mountCredentials(
) → Future< void> - Mounts already stored credentials, called at app startup