getLastFocused method
Gets the window that was most recently focused - typically the window 'on top'.
Implementation
Future<Window> getLastFocused(QueryOptions? queryOptions) async {
var $res = await promiseToFuture<$js.Window>(
$js.chrome.windows.getLastFocused(queryOptions?.toJS));
return Window.fromJS($res);
}