Customer constructor

const Customer({
  1. required CustomerBalance balance,
  2. Address? billingAddress,
  3. required DateTime createdAt,
  4. CustomData? customData,
  5. String? emailAddress,
  6. required String fingerprint,
  7. required bool guest,
  8. required String id,
  9. required String name,
  10. String? phoneNumber,
  11. String? reference,
  12. Address? shippingAddress,
  13. String? suffix,
  14. String? title,
  15. DateTime? updatedAt,
})

Implementation

const Customer({
  required this.balance,
  this.billingAddress,
  required this.createdAt,
  this.customData,
  this.emailAddress,
  required this.fingerprint,
  required this.guest,
  required this.id,
  required this.name,
  this.phoneNumber,
  this.reference,
  this.shippingAddress,
  this.suffix,
  this.title,
  this.updatedAt,
});