PolicyResource constructor
PolicyResource(
- String path, {
- Set<
PermissionType> ? grants, - Set<
PermissionType> ? revokes,
Creates a new PolicyResource with the path and the optional grants
and revokes
.
Implementation
PolicyResource(this.path,
{Set<PermissionType>? grants, Set<PermissionType>? revokes}) {
grant = <PermissionType>{...?grants};
revoke = <PermissionType>{...?revokes};
}