AuthenticationErrorState class final

State representing an authentication error.

This state contains error information that should be displayed to the user.

Inheritance

Constructors

AuthenticationErrorState({required String title, required String message, Object? error})
const

Properties

error Object?
Optional error object for debugging and logging
final
hasError bool
Returns true if the last authentication operation resulted in an error
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isAuthenticated bool
Returns true if the user is fully authenticated with a selected tenant
no setterinherited
isLoading bool
Returns true if an authentication operation is in progress
no setterinherited
isSelectingTenant bool
Returns true if the user is authenticated but needs to select a tenant
no setterinherited
message String
Detailed error message explaining what went wrong
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Error title for display in UI dialogs or snackbars
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited