isAuthenticationError property
bool
get
isAuthenticationError
Checks if the status code represents an authentication error
Implementation
bool get isAuthenticationError => this == 401 || this == 403;
Checks if the status code represents an authentication error
bool get isAuthenticationError => this == 401 || this == 403;