PersonName class
A person's name, divided into individual components.
Constructors
- PersonName({String? first, String? middle, String? last, String? prefix, String? suffix, String? formattedName, String? pronunciation})
-
Create a new PersonName instance.
const
-
PersonName.fromNative(Map<
Object?, Object?> data) -
Create a PersonName from a map.
factory
Properties
- first → String?
-
The person's first name.
final
- formattedName → String?
-
The person's name in a structured format.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- last → String?
-
The person's last name.
final
- middle → String?
-
The person's middle name.
final
- prefix → String?
-
The prefix of the person's name.
final
- pronunciation → String?
-
The pronunciation of the person's name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suffix → String?
-
The suffix of the person's name.
final
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