VCardLabel class
Represents the actual text that should be put on the mailing label when delivering a physical package to the person/object associated with the vCard (related to the ADR property).
Not supported in version 4.0. Instead, this information is stored in the LABEL parameter of the ADR property.
Example: ADR;TYPE=home;LABEL="123 Main St\nNew York, NY 12345":;;123 Main St;New York;NY;12345;USA
Constructors
- VCardLabel({VCardIdentifier? type, required String value})
- Default constructor
- VCardLabel.fromPlainText(String plainText)
-
Constructor from the plain text.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → VCardIdentifier?
-
Identifier that can be "HOME", "WORK", "POSTAL, "PARCEL" or "INTL".
final
- value → String
-
Label value
final
Methods
-
copyWith(
{VCardIdentifier? type, String? value}) → VCardLabel -
Creates a copy of this
VCardLabel
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
VCardLabel
. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited