SharedPrefStorageProvider class
- Inheritance
-
- Object
- LocalStorageService
- SharedPrefStorageProvider
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
-
getData<
T> (String key, StorageProvider provider) → Future< T?> -
override
-
init(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeData(
String key, StorageProvider provider) → Future< bool> -
override
-
saveData(
StorageData keyValue) → Future< bool> -
save data to shared Prefs this fun will check value and if its String it saves
as String and you can pass any data type whithout any hussel.
except for list
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited