whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<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()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;