mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult? saveAddress()?,
- TResult? saveHouseDetails()?,
- TResult? saveHouseholdDetails()?,
- TResult? saveIndividualDetails()?,
- TResult? addMember()?,
- TResult? updateHouseholdDetails()?,
- TResult? updateIndividualDetails()?,
- TResult? create()?,
- TResult? summary()?,
- TResult? validate()?,
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
throw _privateConstructorUsedError;