storage library
Persistent JSON storage engine and GetStorage compatibility from AppForge.
Classes
- AppStorage
- A lightweight, zero-dependency, crash-resilient key-value storage engine.
- AppStorageCodec
-
Byte-level codec used by
AppStorageto transform persisted payloads at rest.
Typedefs
- AppStorageErrorHandler = void Function(Object error, StackTrace stackTrace, String context)
-
Callback invoked whenever
AppStorageencounters a read, recovery, migration, or persistence failure. -
AppStoragePathResolver
= FutureOr<
String> Function() -
Asynchronous or synchronous callback returning the directory path where
AppStorageshould persist container files. - StorageBackendReporter = void Function(Object error, StackTrace stackTrace, String context)
- Internal reporting callback passed into platform storage backends.