AttendanceBloc constructor

AttendanceBloc(
  1. AttendanceStates initialState, {
  2. required AttendanceDataRepository? attendanceDataRepository,
  3. required AttendanceLogDataRepository? attendanceLogDataRepository,
  4. required IndividualDataRepository? individualDataRepository,
})

Implementation

AttendanceBloc(
  super.initialState, {
  required this.attendanceDataRepository,
  required this.attendanceLogDataRepository,
  required this.individualDataRepository,
}) {
  on(_onInitial);
  on(_onLoadAttendanceRegisterData);
  on(_onLoadSelectedRegisterData);
  on(_onLoadMoreAttendanceRegisters);
}