core/cache/embed_cache library
Classes
- CacheMetrics
- Diagnostics.
- EmbedCache
- Process-wide handle on the UI-graph cache.
- UiGraphCacheManager
- Owns the on-device UI-graph cache: capture debouncing, the navigating gate, per-path write serialization, the manifest, eviction, and the handoff to the sync engine.
- UiGraphTransportResult
- One upload attempt's raw outcome, as reported by the injected transport.
Typedefs
-
UiGraphTransport
= Future<
UiGraphTransportResult> Function(Map<String, dynamic> payload) -
Injected so the engine never imports
api_service.dart— that keeps the whole subsystem testable with no HTTP and no Flutter bindings.