CustomerDetails constructor

CustomerDetails({
  1. String? firstName,
  2. String? lastName,
  3. String? email,
  4. String? phone,
  5. BillingAddress? billingAddress,
  6. BillingAddress? shippingAddress,
})

Creates a new instance of CustomerDetails.

firstName is the first name of the customer. lastName is the last name of the customer. email is the email address of the customer. phone is the phone number of the customer. billingAddress is the billing address of the customer. shippingAddress is the shipping address of the customer.

Implementation

CustomerDetails({
  this.firstName,
  this.lastName,
  this.email,
  this.phone,
  this.billingAddress,
  this.shippingAddress,
});