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