UserAddress class

JSON template for address.

Constructors

UserAddress()
UserAddress.fromJson(Map _json)

Properties

country String
Country.
read / write
countryCode String
Country code.
read / write
customType String
Custom type.
read / write
extendedAddress String
Extended Address.
read / write
formatted String
Formatted address.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
locality String
Locality.
read / write
poBox String
Other parts of address.
read / write
postalCode String
Postal code.
read / write
primary bool
If this is user's primary address. Only one entry could be marked as primary.
read / write
region String
Region.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sourceIsStructured bool
User supplied address was structured. Structured addresses are NOT supported at this time. You might be able to write structured addresses, but any values will eventually be clobbered.
read / write
streetAddress String
Street.
read / write
type String
Each entry can have a type which indicates standard values of that entry. For example address could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value. Such type should have the CUSTOM value as type and also have a customType value.
read / write

Methods

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

Operators

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