MapWebStorage class
Default implementation using a Map for storage.
In a real browser environment, you would create an adapter
for window.localStorage.
- Implemented types
Constructors
Properties
Methods
-
getItem(
String key) → String? -
Retrieves the value associated with
key, or null if not found.override -
key(
int index) → String? -
Returns the key at
index, or null if out of range.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeItem(
String key) → void -
Removes the value associated with
key.override -
setItem(
String key, String value) → void -
Stores a
valueassociated withkey.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited