IdentityState constructor

const IdentityState({
  1. Set<LoadingState> loadingStates = const {},
  2. Set<Message> messages = const {},
  3. Session session = const Session(),
  4. bool isLoggedIn = false,
  5. User user = const User(),
  6. String? accessToken,
  7. Verification? awaitingVerification,
  8. AuthType? awaitingLogin,
  9. String? totpSetupSecret,
  10. 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.awaitingVerification,
  this.awaitingLogin,
  this.totpSetupSecret,
  this.totpSetupUri,
});