KVStorageImpl class abstract

Key-Value storage implementation.

Constructors

KVStorageImpl.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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

entries Map<String, dynamic>
no setter
keys Iterable<String>
no setter

Static Methods

clear() Future<void>
Removes all entries in the storage.
delete(String key) Future<void>
get<T>(String key, [T? fallback]) → T?
Get value by key.
patch({Iterable<String>? itemsToDelete, Map<String, dynamic>? itemsToSet}) Future<void>
Apply patch to storage.
prelude() Future<void>
Initialization.
set(String key, dynamic value) Future<void>