IdentityState constructor
const
IdentityState({
- Set<
LoadingState> loadingStates = const {}, - Set<
Message> messages = const {}, - Session session = const Session(),
- bool isLoggedIn = false,
- User user = const User(),
- String? accessToken,
- String? defaultOrgId,
- List<
String> ? orgMemberships, - String? defaultSpaceId,
- List<
String> ? spaceMemberships, - Verification? awaitingVerification,
- AuthType? awaitingLogin,
- String? totpSetupSecret,
- Uri? totpSetupUri,
Implementation
const IdentityState({
super.loadingStates = const {},
super.messages = const {},
this.session = const Session(),
this.isLoggedIn = false,
this.user = const User(),
this.accessToken,
this.defaultOrgId,
this.orgMemberships,
this.defaultSpaceId,
this.spaceMemberships,
this.awaitingVerification,
this.awaitingLogin,
this.totpSetupSecret,
this.totpSetupUri,
});