Address class

Inheritance

Constructors

Address({String countryCode, String state, String city, String streetLine1, String streetLine2, String postalCode})
Describes an address
Address.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

city String
city City
read / write
countryCode String
countryCode A two-letter ISO 3166-1 alpha-2 country code
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
postalCode String
postalCode Address postal code
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String
state State, if applicable
read / write
streetLine1 String
streetLine1 First line of the address
read / write
streetLine2 String
streetLine2 Second line of the address
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'address'