isAuth property

bool get isAuth

Returns true if the permission has been granted; otherwise, false.

Implementation

bool get isAuth {
  return this == PermissionState.authorized;
}