contains method

Future<bool> contains(
  1. Permissions permissions
)

Checks if the extension has the specified permissions.

Implementation

Future<bool> contains(Permissions permissions) async {
  var $res = await promiseToFuture<bool>(
      $js.chrome.permissions.contains(permissions.toJS));
  return $res;
}