ServiceExtensionBridge class
Bridges between the in-app Trinity system and the Dart VM service protocol, enabling real-time communication with DevTools extensions.
This registers service extensions that the DevTools panel can call to query the current state of the causal graph, event buffer, and real-time event stream.
Registered Service Extensions
ext.flutter_debug_trinity.getEventBuffer— Returns the last 500 eventsext.flutter_debug_trinity.getCausalGraph— Returns the full DAG as JSONext.flutter_debug_trinity.getAncestors— Returns ancestor chain for an eventext.flutter_debug_trinity.getDescendants— Returns descendant tree for an eventext.flutter_debug_trinity.findRootCause— Finds root cause of an eventext.flutter_debug_trinity.getStats— Returns system statistics
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
debugReset(
) → void - Reset registration state. For testing only.
-
register(
) → void - Register all Trinity service extensions with the VM.