isAuthError property
bool
get
isAuthError
Check if this is an authentication error
Implementation
bool get isAuthError =>
code == ResponseCode.UNAUTHORISED || code == ResponseCode.FORBIDDEN;
Check if this is an authentication error
bool get isAuthError =>
code == ResponseCode.UNAUTHORISED || code == ResponseCode.FORBIDDEN;