windows property

Stream<Window> windows

Handles for all of the currently displayed tabs/windows.

Implementation

Stream<Window> get windows async* {
  final windows = await _client.send(
      _handler.window.buildGetWindowsRequest(),
      (response) => _handler.window
          .parseGetWindowsResponse(response)
          .map<Window>((w) => Window(_client, _handler, w)));
  for (final window in windows) {
    yield window;
  }
}