isAuthenticationError property

bool get isAuthenticationError

Check if this is an authentication error

Implementation

bool get isAuthenticationError => code == '401';