hasAccess property

bool hasAccess

Returns true if the permission grants partial or full access to assets; otherwise, false.

Implementation

bool get hasAccess {
  return this == PermissionState.authorized ||
      this == PermissionState.limited;
}