Customer constructor

const Customer({
  1. required String id,
  2. required bool guest,
  3. required String name,
  4. String? emailAddress,
  5. String? phoneNumber,
  6. Address? billingAddress,
  7. Address? shippingAddress,
})

Implementation

const Customer({
  required this.id,
  required this.guest,
  required this.name,
  this.emailAddress,
  this.phoneNumber,
  this.billingAddress,
  this.shippingAddress,
});