LocalStorageManager class
Constructors
- LocalStorageManager.getInstance()
-
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
-
clearAll(
) → Future< bool> -
clearKey(
String key) → Future< bool> -
getBool(
String key, {bool defaultValue = false}) → bool? -
getDouble(
String key, {double defaultValue = 0.0}) → double? -
getInt(
String key, {int defaultValue = 0}) → int? -
getString(
String key, {String defaultValue = ''}) → String? -
getStringList(
String key) → List< String> ? -
isKeyExists(
String key) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putBool(
String key, {required bool value}) → Future< bool> -
putDouble(
String key, double value) → Future< bool> -
putInt(
String key, int value) → Future< bool> -
putString(
String key, String value) → Future< bool> -
putStringList(
String key, List< String> value) → Future<bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- allowEmailSkip → const String
- chatDeleteOptionUpdate → const String
- currentChatId → const String
- firstTimeUser → const String
- keyAppOpenedFirst → const String
- keyFcmToken → const String
- keyLoginType → const String
- keyRefreshToken → const String
- keyTagGuidance → const String
- keyToken → const String