revoke method

void revoke(
  1. Permission permission
)

Revoke a permission from the runtime.

Implementation

void revoke(Permission permission) {
  for (final domain in permission.domains) {
    _permissions[domain]?.remove(permission);
  }
}