setVMTimelineFlags method

Future<Success> setVMTimelineFlags(
  1. List<String> recordedStreams
)

The setVMTimelineFlags RPC is used to set which timeline streams are enabled.

The recordedStreams parameter is the list of all timeline streams which are to be enabled. Streams not explicitly specified will be disabled. Invalid stream names are ignored.

A TimelineStreamSubscriptionsUpdate event is sent on the Timeline stream as a result of invoking this RPC.

To get the list of currently enabled timeline streams, see VmService.getVMTimelineFlags.

See Success.

Implementation

Future<Success> setVMTimelineFlags(List<String> recordedStreams) =>
    _call('setVMTimelineFlags', {'recordedStreams': recordedStreams});