BillingAddress class

Represents the billing address of a customer.

Constructors

BillingAddress({String? firstName, String? lastName, String? phone, String? address, String? city, String? postalCode})
Creates a new instance of BillingAddress.

Properties

address String?
The address of the customer.
final
city String?
The city of the customer.
final
firstName String?
The first name of the customer.
final
hashCode int
The hash code for this object.
no setterinherited
lastName String?
The last name of the customer.
final
phone String?
The phone number of the customer.
final
postalCode String?
The postal code of the customer.
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, dynamic>
Converts the billing address to a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

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