isUnauthorizedError property

bool get isUnauthorizedError

Indicates whether the value is an unauthorized ApiException.

Implementation

bool get isUnauthorizedError {
  final e = this;
  return e is ApiException && e.httpStatusInfo.isAuthenticationError;
}