DVWindowSharedStore class
Constructors
Properties
- debounce → Duration
-
A signal changing per frame must not produce a write per frame.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spillThresholdBytes → int
-
Values larger than this go to file storage, leaving a pointer behind.
final
Methods
-
dispose(
) → Future< void> -
evictCache(
) → void - Drops the in-memory copy so the next read goes to the backend.
-
flush(
String key) → Future< void> - Writes now, bypassing the debounce. Tear-out uses this: the window is about to open and the state has to be there when it reads.
-
get(
String key) → Future< DVJsonValue?> -
keys(
) → Future< List< String> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String key) → Future< void> -
set(
String key, DVJsonValue? value) → Future< void> -
Writes
value, coalescing rapid writes to the same key. -
signal(
String key) → ValueListenable< DVJsonValue?> -
A live signal for
key, updated by this window and by any other. -
toString(
) → String -
A string representation of this object.
inherited
-
watch(
String key) → Stream< DVJsonValue?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultAppKeys ↔ DVAppKeyStoreSource
-
Where a store made without
appKeysfinds the application key store.getter/setter pair
Static Methods
-
noAppKeys(
) → Future< DVAppKeyStore?> - A source with no key store: what a store has until one is configured.
Constants
-
reservedPrefixes
→ const List<
String> - Namespaces an application may not touch.
-
sealedPrefixes
→ const List<
String> - Namespaces written only encrypted under the application key, whatever cipher the store was given, and refused when no key can be had.