AttendanceBloc constructor
AttendanceBloc(
- AttendanceStates initialState, {
- required AttendanceDataRepository? attendanceDataRepository,
- required AttendanceLogDataRepository? attendanceLogDataRepository,
- required IndividualDataRepository? individualDataRepository,
Implementation
AttendanceBloc(
super.initialState, {
required this.attendanceDataRepository,
required this.attendanceLogDataRepository,
required this.individualDataRepository,
}) {
on(_onInitial);
on(_onLoadAttendanceRegisterData);
on(_onLoadSelectedRegisterData);
on(_onLoadMoreAttendanceRegisters);
}