Address class final

A postal or contact address attached to a customer.

Exposes city, country, line1, and line2, among other contract fields.

Constructors

Address({String? city, required String country, String? line1, String? line2, String? name, String? phoneNumber, String? postCode, String? region})
const
Address.fromJson(Map<String, Object?> json)
factory

Properties

city → String?
final
country → String
final
hashCode → int
The hash code for this object.
no setterinherited
line1 → String?
final
line2 → String?
final
name → String?
final
phoneNumber → String?
final
postCode → String?
final
region → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited