onExecutionContextCreated property

Stream<ExecutionContextDescription> get onExecutionContextCreated

Issued when new execution context is created.

Implementation

Stream<ExecutionContextDescription> get onExecutionContextCreated =>
    _client.onEvent
        .where((event) => event.name == 'Runtime.executionContextCreated')
        .map((event) => ExecutionContextDescription.fromJson(
            event.parameters['context'] as Map<String, dynamic>));