isAuthError property

bool get isAuthError

Check if there was an authentication error

Implementation

bool get isAuthError => statusCode == 401 || statusCode == 403;