isAllowedIncognitoAccess method

Future<bool> isAllowedIncognitoAccess()

Retrieves the state of the extension's access to Incognito-mode. This corresponds to the user-controlled per-extension 'Allowed in Incognito' setting accessible via the chrome://extensions page.

Implementation

Future<bool> isAllowedIncognitoAccess() async {
  var $res = await promiseToFuture<bool>(
      $js.chrome.extension.isAllowedIncognitoAccess());
  return $res;
}