isAllowedFileSchemeAccess method

Future<bool> isAllowedFileSchemeAccess()

Retrieves the state of the extension's access to the 'file://' scheme. This corresponds to the user-controlled per-extension 'Allow access to File URLs' setting accessible via the chrome://extensions page.

Implementation

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