AttendanceIndividualBloc constructor
AttendanceIndividualBloc(
- AttendanceIndividualState initialState, {
- required AttendanceLogDataRepository? attendanceLogDataRepository,
- 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);
}