Address class

Implemented types

Constructors

Address({String countryCode, String state, String city, String streetLine1, String streetLine2, String postalCode})
Describes an address. countryCode A two-letter ISO 3166-1 alpha-2 country code . state State, if applicable . city City . streetLine1 First line of the address . streetLine2 Second line of the address . postalCode Address postal code
Address.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

city String
read / write
countryCode String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
postalCode String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String
read / write
streetLine1 String
read / write
streetLine2 String
read / write

Methods

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

Operators

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

Constants

CONSTRUCTOR → const String
"address"