OdooKv class abstract
Persistent key-value storage for offline work and performance.
Constructors
- OdooKv()
Properties
Methods
-
close(
) → Future< void> - Closes the storage.
-
delete(
dynamic key) → Future< void> -
Deletes the given
key
from the storage. -
get(
dynamic key, {dynamic defaultValue}) → dynamic -
Returns the value associated with the given
key
. If the key does not exist,null
is returned. -
init(
) → Future< void> - Initializes the storage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
dynamic key, dynamic value) → Future< void> -
Saves the
key
-value
pair. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited