remove method

Future<void> remove(
  1. int windowId
)

Removes (closes) a window and all the tabs inside it.

Implementation

Future<void> remove(int windowId) async {
  await promiseToFuture<void>($js.chrome.windows.remove(windowId));
}