isUnauthorized property
bool
get
isUnauthorized
Implementation
bool get isUnauthorized =>
type == DioExceptionType.badResponse && response?.statusCode == 401;
bool get isUnauthorized =>
type == DioExceptionType.badResponse && response?.statusCode == 401;