FacilityState.fetched constructor

const FacilityState.fetched({
  1. required List<FacilityModel> facilities,
  2. @Default([]) List<FacilityModel> allFacilities,
})

The FacilityFetchedState state represents the state where facilities have been loaded.

Implementation

const factory FacilityState.fetched({
  required List<FacilityModel> facilities,
  @Default([]) List<FacilityModel> allFacilities,
}) = FacilityFetchedState;