$OrderAddress class Null safety

Used by:

  • content:v2.1 : OrderAddress
  • content:v2.1 : TestOrderAddress

Constructors

$OrderAddress({String? country, List<String>? fullAddress, bool? isPostOfficeBox, String? locality, String? postalCode, String? recipientName, String? region, List<String>? streetAddress})
$OrderAddress.fromJson(Map _json)

Properties

country String?
CLDR country code (e.g. "US").
read / write
fullAddress List<String>?
Strings representing the lines of the printed label for mailing the order, for example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United States
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isPostOfficeBox bool?
Whether the address is a post office box.
read / write
locality String?
City, town or commune. [...]
read / write
postalCode String?
Postal Code or ZIP (e.g. "94043").
read / write
recipientName String?
Name of the recipient.
read / write
region String?
Top-level administrative subdivision of the country. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
streetAddress List<String>?
Street-level part of the address.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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