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 $js.chrome.windows.remove(windowId).toDart;
}