onConsoleProfileStarted property

Stream<ConsoleProfileStartedEvent> get onConsoleProfileStarted

Sent when new profile recording is started using console.profile() call.

Implementation

Stream<ConsoleProfileStartedEvent> get onConsoleProfileStarted => _client
    .onEvent
    .where((event) => event.name == 'Profiler.consoleProfileStarted')
    .map((event) => ConsoleProfileStartedEvent.fromJson(event.parameters));