isUnauthorized property
bool
get
isUnauthorized
Whether the status code represents a 401 Unauthorized authentication failure.
Implementation
bool get isUnauthorized => statusCode == 401;
Whether the status code represents a 401 Unauthorized authentication failure.
bool get isUnauthorized => statusCode == 401;