StorageProvider class abstract
- Implementers
Constructors
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
-
deleteToken(
) → Future< void> - Deletes the locally stored token.
-
deleteUserName(
) → Future< void> - Deletes the locally stored user name.
-
getUserName(
) → Future< String?> - Retrieves the locally stored user name.
-
isTokenSavedLocally(
) → Future< bool> - Checks if the token is saved locally.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readTokenResponse(
) → Future< String?> - Reads the locally stored token response.
-
setTokenResponse(
String value) → Future< void> - Sets the token response value locally.
-
setUserName(
String? name) → Future< void> - Sets the user name locally.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited