Storage interface for web platform abstraction.
This allows dependency injection for testing purposes.
- Implementers
Properties
Methods
-
getItem(
String key) → String? -
Retrieves the value associated with
key, or null if not found. -
key(
int index) → String? -
Returns the key at
index, or null if out of range. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeItem(
String key) → void -
Removes the value associated with
key. -
setItem(
String key, String value) → void -
Stores a
valueassociated withkey. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited