getCurrent method

Future<Window> getCurrent(
  1. QueryOptions? queryOptions
)

Gets the current window.

Implementation

Future<Window> getCurrent(QueryOptions? queryOptions) async {
  var $res = await $js.chrome.windows.getCurrent(queryOptions?.toJS).toDart;
  return Window.fromJS($res);
}