PersonNameComponents.fromMap constructor
PersonNameComponents.fromMap(
- Map? map
Implementation
factory PersonNameComponents.fromMap(Map? map) {
if (map == null) {
return PersonNameComponents();
}
return PersonNameComponents(
namePrefix: map['namePrefix'],
givenName: map['givenName'],
middleName: map['middleName'],
familyName: map['familyName'],
nameSuffix: map['nameSuffix'],
nickname: map['nickname'],
);
}