isAuthenticationError property

bool get isAuthenticationError

Returns true if this is an authentication error.

Implementation

bool get isAuthenticationError => [
  ErrorCodeConstants.errorLoginInProgress,
  ErrorCodeConstants.errorLogOutFail,
  ErrorCodeConstants.errorUserNotLoggedIn,
  ErrorCodeConstants.errorAuthenticationFailed,
  ErrorCodeConstants.codeUserAuthTokenNull,
  ErrorCodeConstants.errorAuthTokenNotFound,
].contains(code);