SimpleAddressType class Null safety

A simple representation of an address.

Constructors

SimpleAddressType({String? city, String? line1, String? line2, String? line3, String? locationName, String? state, String? zip})
SimpleAddressType.fromJson(Map _json)

Properties

city String?
The city or town for the address.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
line1 String?
The street name and number of this address.
read / write
line2 String?
The second line the address, if needed.
read / write
line3 String?
The third line of the address, if needed.
read / write
locationName String?
The name of the location.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String?
The US two letter state abbreviation of the address.
read / write
zip String?
The US Postal Zip Code 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