EntityGraphDevtoolsController class final
The one development-tooling controller owned by an attached EntityGraph.
Controllers are created through EntityGraphDevtoolsBinding.attach. Their lifetime is reference-counted by bindings; callers cannot dispose a shared controller out from under another attachment.
Properties
- capabilities ↔ EntityGraphDevtoolsCapabilities
-
Versioned commands, features, and simultaneous retention ceilings.
latefinal
- controllerId → String
-
Unique identity for this attachment generation of storeId.
final
- eventBytesLimit → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- historyBytesLimit → int
-
final
- historyLimit → int
-
final
- isDisposed → bool
-
Whether the final binding has detached and released this controller.
no setter
-
lifecycleEvents
→ List<
EntityGraphDevtoolsLifecycleEvent> -
Lifecycle audit records retained independently of graph entity data.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → EntityGraphIR?
-
Optional validated schema used exclusively for relationship projection.
final
- snapshotBytesLimit → int
-
final
- snapshotLimit → int
-
final
- storeId → String
-
Stable wire identity for this controller while its graph is attached.
final
- timeTravelEnabled → bool
-
Whether snapshot retention and time travel are enabled.
no setter
- valuePolicy → EntityGraphDevtoolsValuePolicy
-
Host-owned policy applied before values enter history or inspection.
final
- vmServiceEnabled → bool
-
Whether this controller is advertised through the isolate VM service.
final
Methods
-
cancelHistoryImport(
String candidateId) → EntityGraphDevtoolsHistoryImportCancellationResult -
clearHistory(
) → void - Clear event and snapshot retention without altering the current graph.
-
confirmHistoryImport(
String candidateId, int cursor) → EntityGraphDevtoolsHistoryImportRestoreResult -
getEntityRecords(
) → EntityGraphDevtoolsEntityRecordsSnapshot -
getHistory(
) → List< EntityGraphDevtoolsEvent> - Copy of retained bounded semantic history.
-
getHistoryStatus(
) → EntityGraphDevtoolsHistoryStatus -
getRelationships(
) → EntityGraphDevtoolsRelationshipsSnapshot -
getSnapshot(
) → EntityGraphDevtoolsSnapshot - Current store counts and both retention-status projections.
-
getSnapshotHistoryStatus(
) → EntityGraphDevtoolsSnapshotHistoryStatus -
getSnapshotReferences(
) → List< EntityGraphDevtoolsRetainedSnapshotReference> -
getViews(
) → EntityGraphDevtoolsViewsSnapshot -
handleCommand(
Object? command) → EntityGraphDevtoolsResult - Validate and execute one transport-independent v1 command envelope.
-
inspectHistoryImport(
Object? candidate) → EntityGraphDevtoolsHistoryImportInspectionResult -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previewEntityPatch(
String type, String id, Map< String, Object?> patch) → EntityGraphDevtoolsPreviewAppliedReceipt? -
restoreEntityPreview(
String previewId) → EntityGraphDevtoolsPreviewRestoreReceipt? -
returnToLive(
) → EntityGraphDevtoolsReturnToLiveReceipt? -
rewind(
int cursor) → EntityGraphDevtoolsRewindResult? -
subscribe(
EntityGraphDevtoolsEventListener listener, {bool replay = false}) → void Function() - Observe retained replay followed by live semantic events.
-
subscribeLifecycle(
EntityGraphDevtoolsLifecycleListener listener, {bool replay = false}) → void Function() - Observe attachment lifecycle changes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited