DdsExtension extension

on
  • VmService

Properties

onExtensionEventWithHistory Stream<Event>

Available on VmService, provided by the DdsExtension extension

Returns a new Stream<Event> of Extension events which outputs historical events before streaming real-time events.
no setter
onLoggingEventWithHistory Stream<Event>

Available on VmService, provided by the DdsExtension extension

Returns a new Stream<Event> of Logging events which outputs historical events before streaming real-time events.
no setter
onStderrEventWithHistory Stream<Event>

Available on VmService, provided by the DdsExtension extension

Returns a new Stream<Event> of Stderr events which outputs historical events before streaming real-time events.
no setter
onStdoutEventWithHistory Stream<Event>

Available on VmService, provided by the DdsExtension extension

Returns a new Stream<Event> of Stdout events which outputs historical events before streaming real-time events.
no setter

Methods

getAvailableCachedCpuSamples() Future<AvailableCachedCpuSamples>

Available on VmService, provided by the DdsExtension extension

The getAvailableCachedCpuSamples RPC is used to determine which caches of CPU samples are available. Caches are associated with individual UserTag names and are specified when DDS is started via the cachedUserTags parameter.
getCachedCpuSamples(String isolateId, String userTag) Future<CachedCpuSamples>

Available on VmService, provided by the DdsExtension extension

The getCachedCpuSamples RPC is used to retrieve a cache of CPU samples collected under a UserTag with name userTag.
getDartDevelopmentServiceVersion() Future<Version>

Available on VmService, provided by the DdsExtension extension

The getDartDevelopmentServiceVersion RPC is used to determine what version of the Dart Development Service Protocol is served by a DDS instance.
getPerfettoVMTimelineWithCpuSamples({int? timeOriginMicros, int? timeExtentMicros}) Future<PerfettoTimeline>

Available on VmService, provided by the DdsExtension extension

The getPerfettoVMTimelineWithCpuSamples RPC functions nearly identically to VmService.getPerfettoVMTimeline, except the trace field of the PerfettoTimeline response returned by this RPC will be a Base64 string encoding a Perfetto-format trace that includes not only all timeline events in the specified time range, but also all CPU samples from all isolates in the specified time range.
getStreamHistory(String stream) Future<StreamHistory>

Available on VmService, provided by the DdsExtension extension

Retrieve the event history for stream.
onEventWithHistory(String stream) Stream<Event>

Available on VmService, provided by the DdsExtension extension

Returns the stream for a given stream id which includes historical events.
postEvent(String stream, String eventKind, Map<String, Object?> eventData) Future<void>

Available on VmService, provided by the DdsExtension extension

Send an event to the stream.