DVSharedStoreBackend class abstract
Where a shared value is actually kept, and how a change reaches another window.
Every target needs persistence — tab order and drafts must survive a relaunch on a desktop as much as on a phone. Only cross-engine targets need the OS to deliver notifications, because windows that share an isolate are already reached by the signal write itself.
- Implementers
Constructors
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 setter
- 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.
-
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. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String? value) → Future< void> -
Stores
value, or removes the key when null.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited