getSubText method
Implementation
getSubText(HouseholdMemberWrapper? wrapper) {
return wrapper != null
? '${localizations.translate(i18.beneficiaryDetails.beneficiaryId)}\n'
'${wrapper.members?.lastOrNull!.name!.givenName} - '
'${wrapper.members?.lastOrNull!.identifiers!.lastWhereOrNull(
(e) =>
e.identifierType ==
IdentifierTypes.uniqueBeneficiaryID.toValue(),
)?.identifierId ?? localizations.translate(i18.common.noResultsFound)}'
: '';
}