onDataCollected property
Contains a bucket of collected trace events. When tracing is stopped collected events will be sent as a sequence of dataCollected events followed by tracingComplete event.
Implementation
Stream<List<Map<String, dynamic>>> get onDataCollected => _client.onEvent
.where((event) => event.name == 'Tracing.dataCollected')
.map((event) => (event.parameters['value'] as List)
.map((e) => e as Map<String, dynamic>)
.toList());