Name class
A person's name.
If the name is a mononym, the family name is empty.
Constructors
- Name({String? displayName, String? displayNameLastFirst, String? familyName, String? givenName, String? honorificPrefix, String? honorificSuffix, FieldMetadata? metadata, String? middleName, String? phoneticFamilyName, String? phoneticFullName, String? phoneticGivenName, String? phoneticHonorificPrefix, String? phoneticHonorificSuffix, String? phoneticMiddleName, String? unstructuredName})
- Name.fromJson(Map json_)
Properties
- displayName ↔ String?
-
The display name formatted according to the locale specified by the
viewer's account or the
Accept-Language
HTTP header.getter/setter pair - displayNameLastFirst ↔ String?
-
The display name with the last name first formatted according to the
locale specified by the viewer's account or the
Accept-Language
HTTP header.getter/setter pair - familyName ↔ String?
-
The family name.
getter/setter pair
- givenName ↔ String?
-
The given name.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- honorificPrefix ↔ String?
-
The honorific prefixes, such as
Mrs.
orDr.
getter/setter pair - honorificSuffix ↔ String?
-
The honorific suffixes, such as
Jr.
getter/setter pair - metadata ↔ FieldMetadata?
-
Metadata about the name.
getter/setter pair
- middleName ↔ String?
-
The middle name(s).
getter/setter pair
- phoneticFamilyName ↔ String?
-
The family name spelled as it sounds.
getter/setter pair
- phoneticFullName ↔ String?
-
The full name spelled as it sounds.
getter/setter pair
- phoneticGivenName ↔ String?
-
The given name spelled as it sounds.
getter/setter pair
- phoneticHonorificPrefix ↔ String?
-
The honorific prefixes spelled as they sound.
getter/setter pair
- phoneticHonorificSuffix ↔ String?
-
The honorific suffixes spelled as they sound.
getter/setter pair
- phoneticMiddleName ↔ String?
-
The middle name(s) spelled as they sound.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unstructuredName ↔ String?
-
The free form name value.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited