SignInBloc constructor Null safety

SignInBloc(
  1. {required AuthenticationRepository authRepository}
)

Implementation

SignInBloc({required AuthenticationRepository authRepository})
    : _authenticationRepository = authRepository,
      super(const SignInState()) {
  on<SignInStudentCodeChanged>(_onStudentCodeChanged);
  on<SignInPasswordChanged>(_onPasswordChanged);
  on<SignInSubmitted>(_onSubmitted);
}