StorageService class

Constructors

StorageService()

Properties

hashCode int
The hash code for this object.
no setterinherited
isLoggedIn bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage ↔ GetStorage
getter/setter pair

Methods

deleteAllItems() → dynamic
deleteItem({required String key}) → dynamic
getAppID() Future<String?>
getUser() Future<Map<String, dynamic>?>
getUserID() Future<String?>
getUserToken() Future<String?>
hasKey({required String key}) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readItem({required String key}) Future
storeAppID({required String id}) Future<bool>
storeItem({required String key, String? value}) → dynamic
storeUser({required Map<String, dynamic> user}) Future<bool>
storeUserID({required String userID}) Future<bool>
storeUserToken({required String userID}) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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