hasAccess property

bool get 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;
}