hasName method
Implementation
bool hasName(PersonNameDtoUseEnum nameUse) {
return this.names.any((element) => element.use == nameUse);
}
bool hasName(PersonNameDtoUseEnum nameUse) {
return this.names.any((element) => element.use == nameUse);
}