maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult saveAddress()?,
- TResult saveHouseDetails()?,
- TResult saveHouseholdDetails()?,
- TResult saveIndividualDetails()?,
- TResult addMember()?,
- TResult updateHouseholdDetails()?,
- TResult updateIndividualDetails()?,
- TResult create()?,
- TResult summary()?,
- TResult validate()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(BeneficiaryRegistrationSaveAddressEvent value)?
saveAddress,
TResult Function(BeneficiaryRegistrationSaveHouseDetailsEvent value)?
saveHouseDetails,
TResult Function(BeneficiaryRegistrationSaveHouseholdDetailsEvent value)?
saveHouseholdDetails,
TResult Function(BeneficiaryRegistrationSaveIndividualDetailsEvent value)?
saveIndividualDetails,
TResult Function(BeneficiaryRegistrationAddMemberEvent value)? addMember,
TResult Function(BeneficiaryRegistrationUpdateHouseholdDetailsEvent value)?
updateHouseholdDetails,
TResult Function(BeneficiaryRegistrationUpdateIndividualDetailsEvent value)?
updateIndividualDetails,
TResult Function(BeneficiaryRegistrationCreateEvent value)? create,
TResult Function(BeneficiaryRegistrationSummaryEvent value)? summary,
TResult Function(BeneficiaryRegistrationTagEvent value)? validate,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;