onScriptParsed property

Stream<ScriptParsedEvent> get onScriptParsed

Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

Implementation

Stream<ScriptParsedEvent> get onScriptParsed => _client.onEvent
    .where((event) => event.name == 'Debugger.scriptParsed')
    .map((event) => ScriptParsedEvent.fromJson(event.parameters));