when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult deleteHousehold(
- String projectId,
- HouseholdModel householdModel,
- List<
IndividualModel> members, - ProjectBeneficiaryModel projectBeneficiaryModel,
- BeneficiaryType projectBeneficiaryType,
- required TResult deleteIndividual(
- String projectId,
- HouseholdModel householdModel,
- IndividualModel individualModel,
- BeneficiaryType projectBeneficiaryType,
- required TResult setAsHead(
- String projectId,
- IndividualModel individualModel,
- HouseholdModel householdModel,
- BeneficiaryType projectBeneficiaryType,
- required TResult selectedIndividual(
- IndividualModel individualModel
- required TResult reload(
- String projectId,
- BeneficiaryType projectBeneficiaryType
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(
String projectId,
HouseholdModel householdModel,
List<IndividualModel> members,
ProjectBeneficiaryModel projectBeneficiaryModel,
BeneficiaryType projectBeneficiaryType)
deleteHousehold,
required TResult Function(
String projectId,
HouseholdModel householdModel,
IndividualModel individualModel,
BeneficiaryType projectBeneficiaryType)
deleteIndividual,
required TResult Function(
String projectId,
IndividualModel individualModel,
HouseholdModel householdModel,
BeneficiaryType projectBeneficiaryType)
setAsHead,
required TResult Function(IndividualModel individualModel)
selectedIndividual,
required TResult Function(
String projectId, BeneficiaryType projectBeneficiaryType)
reload,
}) =>
throw _privateConstructorUsedError;