SharedPreferenceDataSource class
- Inheritance
-
- Object
- PreferencesDatasource
- SharedPreferenceDataSource
Constructors
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
-
getAccessToken(
) → Future< String> -
override
-
getRefreshToken(
) → Future< String> -
override
-
getSession(
) → Future< String> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveAccessToken(
String token) → void -
override
-
saveRefreshToken(
String token) → void -
override
-
saveSession(
String session) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- GET_ACCESS_TOKEN_KEY → const String
- GET_REFRESH_TOKEN_KEY → const String
- GET_SESSION_KEY → const String