Address class
This class represents an address.
Constructors
-
Address.fromJson(Map<
String, dynamic> json) -
The default constructor.
factory
Properties
- country → String?
-
The country in which the address is located.
final
- formatted → String?
-
The formatted address.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locality → String?
-
The locality of the address.
final
- postalCode → String?
-
The postal code of the address.
final
- region → String?
-
The name of the region in which the address is located.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streetAddress → String?
-
The street address part of this address.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert this object into a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited