Storage class abstract
An interface used by Settings to persist values.
- Implementers
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
-
get(
String key) → Object? -
Retrieves the value associated with the given
key
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String key) → Future< void> -
Removes the value associated with the given
key
. -
setBool(
String key, bool value) → Future< void> -
Sets the value associated with the given
key
tovalue
. -
setDouble(
String key, double value) → Future< void> -
Sets the value associated with the given
key
tovalue
. -
setInt(
String key, int value) → Future< void> -
Sets the value associated with the given
key
tovalue
. -
setString(
String key, String value) → Future< void> -
Sets the value associated with the given
key
tovalue
. -
setStringList(
String key, List< String> value) → Future<void> -
Sets the value associated with the given
key
tovalue
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited