isUnauthorized property

bool get isUnauthorized

Implementation

bool get isUnauthorized {
  return response?.statusCode == 401;
}