onInspectedElementWindowRestored property

Stream<BackendNodeId> get onInspectedElementWindowRestored

Fired when user asks to restore the Inspected Element floating window.

Implementation

Stream<dom.BackendNodeId> get onInspectedElementWindowRestored => _client
    .onEvent
    .where((event) => event.name == 'Overlay.inspectedElementWindowRestored')
    .map(
      (event) => dom.BackendNodeId.fromJson(
        event.parameters['backendNodeId'] as int,
      ),
    );