Fires once when the VM service WebSocket closes (hot restart, app kill,
etc.). Use this to trigger auto-reconnect. Implementors broadcast one
event then close the stream.
Raw VM service handle. Try not to use this from glint code — the
whole point of FlutterRuntime is to keep this surface contained
to one adapter. Exposed for verify scripts and adapter authors.
Broadcast stream of WriteEvents from the Flutter app's stdout.
FlutterError dumps land here (not stderr — debugPrint → print →
stdout), so error-capture pipelines must subscribe.
Attach to a VM service over its WebSocket URI. Selects the first
isolate exposing ext.flutter.* extensions and listens to the
stderr / stdout / logging event streams. Subsequent calls re-attach.
Evaluates expression in a library with the Flutter widgets API in scope (framework first, then the app's own).
Returns the raw InstanceRef for the caller to crack open by type.
Throws RuntimeEvalError on compilation error or ErrorRef return.
Evaluates expression and returns its valueAsString, transparently
refetching via getObject when the value is truncated past the
128-char preview. Returns null for a non-string result, and for an eval
error unless rethrowErrors, which rethrows the RuntimeEvalError.
Sets the inspector selection to inspectorId in groupName, then
evaluates expression against the root library. Returns null on any eval
failure. Shorthand for the enricher pattern setInspectorSelection →
evaluateString.
Returns the subtree rooted at inspectorId including each node's
DiagnosticsProperty values. Used for selective per-node detail
reads (input field values, icon codepoints, etc.).
Returns the inspector's widget tree as raw DiagnosticsNode JSON.
isSummaryTree: true (the default) filters out framework
internals; false returns the full element tree.