AttendanceIndividualBloc constructor

AttendanceIndividualBloc(
  1. AttendanceIndividualState initialState, {
  2. required AttendanceLogDataRepository? attendanceLogDataRepository,
  3. required LocalRepository<AttendanceLogModel, AttendanceLogSearchModel>? attendanceLogLocalRepository,
})

Implementation

AttendanceIndividualBloc(super.initialState,
    {required this.attendanceLogDataRepository,
    required this.attendanceLogLocalRepository}) {
  on<AttendanceIndividualLogSearchEvent>(_onIndividualAttendanceLogSearch);
  on<AttendanceMarkEvent>(_onIndividualAttendanceMark);
  on<SaveAsDraftEvent>(_onSaveAsDraft);
  on<SearchAttendeesEvent>(_onSearchAttendeeByName);
}