ApplicationState class

Constructors

ApplicationState({bool isLoading = false, bool hasInitialized = false, UserModel? currentUser, bool hasTriedAutoLogin = false, required String currentSectionId, String? errorMessage})

Properties

currentSectionId → String
final
currentUser → UserModel?
final
errorMessage → String?
final
hashCode → int
The hash code for this object.
no setterinherited
hasInitialized ↔ bool
getter/setter pair
hasTriedAutoLogin → bool
final
isAuthenticated → bool
no setter
isLoading ↔ bool
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({UserModel? currentUser, bool? hasTriedAutoLogin, String? currentSectionId, bool? isLoading, String? errorMessage, bool? hasInitialized}) → ApplicationState
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