VCardName class

A structured representation of the name of the person, place or thing associated with the vCard object. Structure recognizes, in order separated by semicolons: Family Name, Given Name, Additional/Middle Names, Honorific Prefixes, and Honorific Suffixes.

Constructors

VCardName({String? prefixes, required String name, String? middleNames, String? lastName, String? suffixes})
Default constructor
VCardName.fromPlainText(String plainText)
Constructor from the plain text.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lastName String?
A.k.a. Family Name
final
middleNames String?
A.k.a. Additional/Middle Names
final
name String
A.k.a. Given Name
final
prefixes String?
A.k.a. Honorific Prefixes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixes String?
A.k.a. Honorific Suffixes
final

Methods

asFullName() String
A plain text representation of the VCardName as full name.
copyWith({String? lastName, String? name, String? middleNames, String? prefixes, String? suffixes}) VCardName
Creates a copy of this VCardName but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toPlainText() String
A plain text representation of the VCardName.
toString() String
A string representation of this object.
override

Operators

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