AuthenticationState class
- Annotations
Constructors
-
AuthenticationState({@Default(AuthenticationStatus.unauthenticated) AuthenticationStatus status, ClientUserEntity? user, @Default(<ProfileMenuItem>[]) List<
ProfileMenuItem> commonProfileMenuItems, @Default(<ProfileMenuItem>[]) List<ProfileMenuItem> authenticatedProfileMenuItems}) -
factory
Properties
-
authenticatedProfileMenuItems
→ List<
ProfileMenuItem> -
no setterinherited
-
commonProfileMenuItems
→ List<
ProfileMenuItem> -
no setterinherited
-
copyWith
→ $AuthenticationStateCopyWith<
AuthenticationState> -
Create a copy of AuthenticationState
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AuthenticationStatus
-
no setterinherited
- user → ClientUserEntity?
-
no setterinherited
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