FacilityEvent.loadForProjectId constructor

const FacilityEvent.loadForProjectId({
  1. required String projectId,
  2. @Default(true) bool loadAllProjects,
})

The FacilityLoadForProjectEvent event is triggered when facilities need to be loaded for a project.

Implementation

const factory FacilityEvent.loadForProjectId({
  required String projectId,
  @Default(true) bool loadAllProjects,
}) = FacilityLoadForProjectEvent;