onSetChildNodes property

Stream<SetChildNodesEvent> onSetChildNodes

Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.

Implementation

Stream<SetChildNodesEvent> get onSetChildNodes => _client.onEvent
    .where((event) => event.name == 'DOM.setChildNodes')
    .map((event) => SetChildNodesEvent.fromJson(event.parameters));