onPreciseCoverageDeltaUpdate property

Stream<PreciseCoverageDeltaUpdateEvent> get onPreciseCoverageDeltaUpdate

Reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediately at a certain point in time.

Implementation

Stream<PreciseCoverageDeltaUpdateEvent> get onPreciseCoverageDeltaUpdate =>
    _client.onEvent
        .where((event) => event.name == 'Profiler.preciseCoverageDeltaUpdate')
        .map((event) =>
            PreciseCoverageDeltaUpdateEvent.fromJson(event.parameters));