Storage class abstract

An interface used by Settings to persist values.

Implementers

Constructors

Storage.new()

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 to value.
setDouble(String key, double value) Future<void>
Sets the value associated with the given key to value.
setInt(String key, int value) Future<void>
Sets the value associated with the given key to value.
setString(String key, String value) Future<void>
Sets the value associated with the given key to value.
setStringList(String key, List<String> value) Future<void>
Sets the value associated with the given key to value.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited