Address class abstract

Address

Properties:

  • city - The name of the city.
  • companyName - The name of the company.
  • country - The two-letter country code, in ISO 3166-1 alpha-2 format.
  • postalCode - The postal code.
  • stateOrProvince - The state or province as defined in ISO 3166-2. For example, ON for Ontario, Canada. Applicable for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States
  • streetAddress - The name of the street, and the house or building number.
  • streetAddress2 - Additional address details, if any.
Annotations
  • @BuiltValue.new()

Constructors

Address([void updates(AddressBuilder b)])
factory

Properties

city → String?
The name of the city.
no setter
companyName → String?
The name of the company.
no setter
country → String?
The two-letter country code, in ISO 3166-1 alpha-2 format.
no setter
hashCode → int
The hash code for this object.
no setterinherited
postalCode → String?
The postal code.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stateOrProvince → String?
The state or province as defined in ISO 3166-2. For example, ON for Ontario, Canada. Applicable for the following countries: - Australia - Brazil - Canada - India - Mexico - New Zealand - United States
no setter
streetAddress → String?
The name of the street, and the house or building number.
no setter
streetAddress2 → String?
Additional address details, if any.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(AddressBuilder)) → Address
Rebuilds the instance.
inherited
toBuilder() → AddressBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Address>
no setter