contains method
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;
}