DVMemorySharedStoreBackend class

The default backend: in memory, with no cross-engine notification.

Correct for desktop, where windows share an isolate, and for tests. A target whose windows are separate engines registers a backend that reads and writes the platform preference store instead.

Inheritance

Properties

changed → Stream<String>
Changes made by another window. In-process backends may return an empty stream: a same-engine write already reaches every window.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

keys() → Future<List<String>>
Every key currently held.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → Future<String?>
The raw stored string for key, or null.
override
toString() → String
A string representation of this object.
inherited
write(String key, String? value) → Future<void>
Stores value, or removes the key when null.
override

Operators

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