PersonName.fromNative constructor
Create a PersonName from a map.
Implementation
factory PersonName.fromNative(Map<Object?, Object?> data) {
return PersonName(
first: data['first'] as String?,
middle: data['middle'] as String?,
last: data['last'] as String?,
prefix: data['prefix'] as String?,
suffix: data['suffix'] as String?,
formattedName: data['formattedName'] as String?,
pronunciation: data['pronunciation'] as String?,
);
}