get method

Future<Window> get(
  1. int windowId,
  2. QueryOptions? queryOptions
)

Gets details about a window.

Implementation

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