CustomerModel constructor

CustomerModel({
  1. int? id,
  2. DateTime? dateCreated,
  3. DateTime? dateCreatedGmt,
  4. DateTime? dateModified,
  5. DateTime? dateModifiedGmt,
  6. String? email,
  7. String? firstName,
  8. String? lastName,
  9. String? role,
  10. String? username,
  11. String? password,
  12. Map<String, dynamic>? billing,
  13. Map<String, dynamic>? shipping,
  14. bool? isPayingCustomer,
  15. String? avatarUrl,
  16. List? metaData,
})

Implementation

CustomerModel({
  this.id,
  this.dateCreated,
  this.dateCreatedGmt,
  this.dateModified,
  this.dateModifiedGmt,
  this.email,
  this.firstName,
  this.lastName,
  this.role,
  this.username,
  this.password,
  this.billing,
  this.shipping,
  this.isPayingCustomer,
  this.avatarUrl,
  this.metaData,
});