when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult handleSubmit(
    1. TaskModel task,
    2. bool isEditing,
    3. BoundaryModel boundaryModel,
    4. bool navigateToSummary,
    5. HouseholdMemberWrapper? householdMemberWrapper,
    ),
  2. required TResult handleSearch(
    1. TaskSearchModel taskSearch
    ),
  3. required TResult selectFutureCycleDose(
    1. int dose,
    2. ProjectCycle cycle,
    3. IndividualModel? individualModel
    ),
  4. required TResult setActiveCycleDose(
    1. int lastDose,
    2. int lastCycle,
    3. IndividualModel? individualModel,
    4. ProjectTypeModel projectType,
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(
          TaskModel task,
          bool isEditing,
          BoundaryModel boundaryModel,
          bool navigateToSummary,
          HouseholdMemberWrapper? householdMemberWrapper)
      handleSubmit,
  required TResult Function(TaskSearchModel taskSearch) handleSearch,
  required TResult Function(
          int dose, ProjectCycle cycle, IndividualModel? individualModel)
      selectFutureCycleDose,
  required TResult Function(int lastDose, int lastCycle,
          IndividualModel? individualModel, ProjectTypeModel projectType)
      setActiveCycleDose,
}) =>
    throw _privateConstructorUsedError;