MemoryStateConfig class final

Pure in-memory implementation of GraftDryConfig.

Ideal for headless unit tests, fast benchmarks, and environments where disk file I/O is disabled or unnecessary.

Implemented types

Constructors

MemoryStateConfig()

Properties

hashCode → int
The hash code for this object.
no setterinherited
keys → Iterable<String>
Inspects currently stored keys.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clears all entries from in-memory storage.
close() → Future<void>
Flushes pending I/O and releases open file handles.
override
delete(String key) → Future<void>
Deletes stored data associated with key.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → Future<Uint8List?>
Reads stored binary data by key asynchronously.
override
readAllSync() → Map<String, Uint8List>
Synchronously pre-reads all stored entries to hydrate L1 RAM on Frame 0.
override
toString() → String
A string representation of this object.
inherited
write(String key, Uint8List value) → Future<void>
Persists value under key asynchronously.
override

Operators

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