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