Customer constructor

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

Implementation

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