StorageProvider class abstract

Implementers

Constructors

StorageProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteToken() Future<void>
Deletes the locally stored token.
deleteUserName() Future<void>
Deletes the locally stored user name.
getUserInfo() Future<String?>
Retrieves the locally stored encoded user info json.
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.
setUserInfo(String? name) Future<void>
Sets the user info locally.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited