PersonNameComponents class

The separate parts of a person's name, allowing locale-aware formatting.

Constructors

PersonNameComponents({String? namePrefix, String? givenName, String? middleName, String? familyName, String? nameSuffix, String? nickname, PersonNameComponents? phoneticRepresentation})
The separate parts of a person's name, allowing locale-aware formatting.

Properties

familyName String?
Name bestowed upon an individual to denote membership in a group or family. (for example, “Appleseed”).
final
givenName String?
Name bestowed upon an individual to differentiate them from other members of a group that share a family name (for example, “Johnathan”).
final
hashCode int
The hash code for this object.
no setterinherited
middleName String?
Secondary name bestowed upon an individual to differentiate them from others that have the same given name (for example, “Maple”).
final
namePrefix String?
The portion of a name’s full form of address that precedes the name itself (for example, “Dr.,” “Mr.,” “Ms.”).
final
nameSuffix String?
The portion of a name’s full form of address that follows the name itself (for example, “Esq.,” “Jr.,” “Ph.D.”).
final
nickname String?
Name substituted for the purposes of familiarity (for example, "Johnny").
final
phoneticRepresentation PersonNameComponents?
The phonetic representation name components of the receiver.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited