StorageManager class

Constructors

StorageManager.new()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

clearStorage() → dynamic
Clear all data from storage
getHeaders() Map<String, dynamic>?
getLoginData() Map<String, dynamic>?
getModelData(String key) Map<String, dynamic>?
Get the model data from storage :::::::::::
saveDataModelData(dynamic modelData, String key) → dynamic
Save the model data to storage :::::::::::
setHeaders({String? auth, String? token}) → void
updateModelData(String key, String field, dynamic newValue) → void
Update a specific field in the model :::::::::::

Constants

accessToken → const String
apiHeaders → const String
authToken → const String
chatId → const String
fcmToken → const String
firebaseUserId → const String
isDarkMode → const String
isLoggedIn → const String
isNotificationsEnabled → const String
loginModel → const String
model → const String
notificationType → const String
oldUser → const String
userId → const String