Contains structured address, formatted address, postal code and country code.
Structured address is an ordered list of components (usually administrative hierarchy). Formatted address is a full address as a single string. Formatted address generally can't be obtained from component names. Some components could be ignored (large administrative region) or absent (office number).
- Implemented types
Constructors
-
SearchAddress(String formattedAddress, String? additionalInfo, String? postalCode, String? countryCode, List<
SearchAddressComponent> components) -
factory
Properties
- additionalInfo → String?
-
Additional address info.
no setter
-
components
→ List<
SearchAddressComponent> -
Address component list, see SearchAddressComponent, may be empty.
no setter
- countryCode → String?
-
Country code in ISO 3166-1 alpha-2 format (two-letter country code).
no setter
- formattedAddress → String
-
Human-readable address.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- postalCode → String?
-
Postal/Zip code.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant SearchAddress other) → bool -
The equality operator.
override