revokeSync method
Revokes a permission, and returns the state of the permission.
import { assert } from "https://deno.land/std/testing/asserts.ts";
const status = Deno.permissions.revokeSync({ name: "run" });
assert(status.state !== "granted")
Implementation
_i4.PermissionStatus revokeSync(_i2.Object desc) => _i3.callMethod(
this,
'revokeSync',
[desc],
);