AuthBloc constructor

AuthBloc({
  1. required AuthenticationRepository authRepository,
})

Implementation

AuthBloc({required this.authRepository}) : super(AuthUninitialized()) {
  on<AuthAppStarted>(_onAppStarted);
  on<AuthLoggedIn>(_onLoggedIn);
  on<AuthLoggedOut>(_onLoggedOut);
  on<AuthSignInRequested>(_onSignInRequested);
  on<AuthSignUpRequested>(_onSignUpRequested);
  on<AuthAnonymousSignInRequested>(_onAnonymousSignInRequested);
}