getAll method

Future<List<Window>> getAll(
  1. QueryOptions? queryOptions
)

Gets all windows.

Implementation

Future<List<Window>> getAll(QueryOptions? queryOptions) async {
  var $res = await promiseToFuture<JSArray>(
      $js.chrome.windows.getAll(queryOptions?.toJS));
  return $res.toDart.cast<$js.Window>().map((e) => Window.fromJS(e)).toList();
}