getCurrent method
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);
}
Gets the current window.
Future<Window> getCurrent(QueryOptions? queryOptions) async {
var $res = await $js.chrome.windows.getCurrent(queryOptions?.toJS).toDart;
return Window.fromJS($res);
}