isAuthError property
bool
get
isAuthError
Check if there was an authentication error
Implementation
bool get isAuthError => statusCode == 401 || statusCode == 403;
Check if there was an authentication error
bool get isAuthError => statusCode == 401 || statusCode == 403;