setVMTimelineFlags method Null safety

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

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 getVMTimelineFlags.

See Success.

Implementation

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