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 $js.chrome.windows.getLastFocused(queryOptions?.toJS).toDart;
return Window.fromJS($res);
}