openPopup method

Future<Map?> openPopup()

Opens the extension popup window in the active window but does not grant tab permissions.

Implementation

Future<Map?> openPopup() async {
  var $res =
      await promiseToFuture<JSAny?>($js.chrome.browserAction.openPopup());
  return $res?.toDartMap();
}