when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult handleSubmit(
- TaskModel task,
- bool isEditing,
- BoundaryModel boundaryModel,
- HouseholdMemberWrapper? householdMemberWrapper,
- required TResult handleSearch(
- TaskSearchModel taskSearch
- required TResult selectFutureCycleDose(
- int dose,
- ProjectCycle cycle,
- IndividualModel? individualModel
- required TResult setActiveCycleDose(),
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;