UFPrefUtils class

Constructors

UFPrefUtils()

Properties

authToken ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isFirstRun → String
final
isLoggedIn → String
final
isLoggedOut ↔ String
getter/setter pair
notificationPayload ↔ String
getter/setter pair
refreshToken ↔ String
getter/setter pair
rememberMeData ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedLanguage ↔ String
getter/setter pair
skippedAppVersion ↔ String
getter/setter pair
userData ↔ String
getter/setter pair

Methods

clearAuthToken() → Future<void>
clearPref() → Future<void>
clearPrefExcept({List<String>? keysToKeep}) → Future<void>
getStorage() → Future<SharedPreferences>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAuthToken() → Future<String>
readBoolean(String key) → Future<bool>
readIsFirstRun() → Future<bool>
readIsUserLoggedIn() → Future<bool>
readObject(String key) → dynamic
readRefereshToken() → Future<String>
readRefreshToken() → Future<String>
readSelectedLanguage() → Future<String>
readString(String key) → Future<String?>
toString() → String
A string representation of this object.
inherited
writeBoolean(String key, bool value) → Future<void>
writeObject(String key, dynamic value) → Future<void>
writeString(String key, String value) → Future<void>

Operators

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