TLocalStorage class
Constructors
- TLocalStorage.instance()
-
Create a named constructor to obtain an instance with a specific bucket name
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< void> - Clear all data in storage
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readData<
T> (String key) → T? - Generic method to read data
-
removeData(
String key) → Future< void> - Generic method to remove data
-
toString(
) → String -
A string representation of this object.
inherited
-
writeData<
T> (String key, T value) → Future< void> - Generic method to save data
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited