when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult empty(),
  2. required TResult loading(),
  3. required TResult fetched(
    1. List<ProjectFacilityModel> projectFacilities
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function() empty,
  required TResult Function() loading,
  required TResult Function(List<ProjectFacilityModel> projectFacilities)
      fetched,
}) =>
    throw _privateConstructorUsedError;