IntentCallPlatformEntityIndex class final

Dart-facing writer for native entity snapshots used by platform projections.

The index is a platform cache, not the app's source of truth. App logic owns the authoritative model and writes JSON-safe snapshots here so native surfaces can resolve entities while Flutter is not running.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearEntityType(String entityType) Future<int>
deleteAgentRefs({required Iterable<AgentEntityRef> refs}) Future<int>
deleteSnapshots({required String entityType, required Iterable<String> ids}) Future<int>
listSnapshots({required String entityType}) Future<List<Map<String, Object?>>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchSnapshots({required String entityType, required String query, int? limit}) Future<List<Map<String, Object?>>>
toString() String
A string representation of this object.
inherited
upsertAgentSnapshots({required Iterable<AgentEntitySnapshot> snapshots}) Future<int>
upsertAgentSnapshotsForType({required AgentEntityTypeDescriptor descriptor, required Iterable<AgentEntitySnapshot> snapshots}) Future<int>
upsertSnapshots({required String entityType, required Iterable<Map<String, Object?>> snapshots}) Future<int>

Operators

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