ProjectFacilityBloc constructor

ProjectFacilityBloc(
  1. ProjectFacilityState initialState, {
  2. 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);
}