SecureStorageService class
Constructors
- SecureStorageService()
-
factory
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
-
clearAuth(
) → Future< void> -
configureForTest(
FlutterSecureStorage storage) → void - Swaps in a storage double. The singleton is the only instance in an app, so there is no other way to reach it.
-
getRefreshToken(
) → String? -
initialize(
) → Future< void> - Loads the saved refresh token into memory, treating one that cannot be read as one that is not there.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setRefreshToken(
String? refreshToken) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited