AddressPortable class
Address portable.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- AddressPortable(String? addressLine1, String? addressLine2, String? addressLine3, String? adminArea4, String? adminArea3, String? adminArea2, String? adminArea1, String? postalCode, String? countryCode, AddressDetails? addressDetails)
-
const
-
AddressPortable.fromJson(Map<
String, dynamic> json) -
factory
Properties
- addressDetails → AddressDetails?
-
The non-portable additional address details that are sometimes needed for
compliance, risk, or other scenarios where fine-grain address information
might be needed. Not portable with common third party and open source.
Redundant with core fields. For example, address_portable.address_line_1
is usually a combination of address_details.street_number, street_name,
and street_type.
final
- addressLine1 → String?
-
The first line of the address. For example, number or street. For example,
173 Drury Lane. Required for data entry and compliance and risk checks.
Must contain the full address.
final
- addressLine2 → String?
-
The second line of the address. For example, suite or apartment number.
final
- addressLine3 → String?
-
The third line of the address, if needed. For example, a street complement
for Brazil, direction text, such as next to Walmart, or a landmark in an
Indian address.
final
- adminArea1 → String?
-
The highest level sub-division in a country, which is usually a province,
state, or ISO-3166-2 subdivision. Format for postal delivery.
For example, CA and not California. Value, by country, is:
final
- adminArea2 → String?
-
A city, town, or village. Smaller than admin_area_level_1.
final
- adminArea3 → String?
-
A sub-locality, suburb, neighborhood, or district.
Smaller than admin_area_level_2. Value is:
final
- adminArea4 → String?
-
The neighborhood, ward, or district. Smaller than admin_area_level_3 or
sub_locality. Value is:
final
- countryCode → String?
-
The
two-character ISO 3166-1 code that identifies the country or region.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- postalCode → String?
-
The postal code, which is the zip code or equivalent. Typically required
for countries with a postal code or an equivalent.
See postal code.
final
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited