ProjectFacilityBloc constructor
ProjectFacilityBloc(
- ProjectFacilityState initialState, {
- required ProjectFacilityDataRepository projectFacilityDataRepository,
The constructor for ProjectFacilityBloc
.
It initializes the bloc with an empty state and sets up the event handler for loading project facilities.
Implementation
ProjectFacilityBloc(
super.initialState, {
required this.projectFacilityDataRepository,
}) {
on(_handleLoad);
}