VCardAddress class

A structured representation of the physical delivery address for the vCard object.

Constructors

VCardAddress({VCardIdentifier? identifier, bool preferred = false, String? auxLine1, String? auxLine2, required String street, required String city, String? state, String? zipCode, required String country})
Default constructor
VCardAddress.fromPlainText(String plainText)
Constructor from the plain text.
factory

Properties

auxLine1 String?
Line 1 of the street address. It is an arbitrary text string that does not describe the street itself.
final
auxLine2 String?
Line 2 of the street address. It is an arbitrary text string that does not describe the street itself.
final
city String
City or town
final
country String
Country
final
hashCode int
The hash code for this object.
no setterinherited
identifier VCardIdentifier?
Identifier that can be "HOME", "WORK", "POSTAL or "PARCEL".
final
preferred bool
Indicates if the address is preferred
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
State or region
final
street String
Street address
final
zipCode String?
Zip Code
final

Methods

copyWith({VCardIdentifier? identifier, bool? preferred, String? auxLine1, String? auxLine2, String? street, String? city, String? state, String? zipCode, String? country}) VCardAddress
Creates a copy of this VCardAddress 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([VCardVersion version = VCardVersion.v3]) String
A plain text representation of the VCardAddress.
toString() String
A string representation of this object.
override

Operators

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