onNodeHighlightRequested property

Stream<NodeId> get onNodeHighlightRequested

Fired when the node should be highlighted. This happens after call to setInspectMode.

Implementation

Stream<dom.NodeId> get onNodeHighlightRequested => _client.onEvent
    .where((event) => event.name == 'Overlay.nodeHighlightRequested')
    .map((event) => dom.NodeId.fromJson(event.parameters['nodeId'] as int));