PersonName.fromNative constructor

PersonName.fromNative(
  1. Map data
)

Create a PersonName from native data.

Implementation

PersonName.fromNative(Map data)
    : 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?;