findName method
Implementation
PersonNameDto findName(PersonNameDtoUseEnum nameUse) {
return this.names.firstWhere((element) => element.use == nameUse);
}
PersonNameDto findName(PersonNameDtoUseEnum nameUse) {
return this.names.firstWhere((element) => element.use == nameUse);
}