Customer constructor

Customer({
  1. required String id,
  2. required String name,
  3. String? plan,
  4. required String slug,
  5. String? image,
  6. String imageThumb = '',
  7. String imagePreview = '',
  8. String? website,
  9. String? description,
  10. String? contactAddress,
  11. String? billingAddress,
  12. PaymentMethodEnum? paymentMethod,
  13. int modelsCount = 0,
})

Returns a new Customer instance.

Implementation

Customer({
  required this.id,
  required this.name,
  this.plan,
  required this.slug,
  this.image,
  this.imageThumb = '',
  this.imagePreview = '',
  this.website,
  this.description,
  this.contactAddress,
  this.billingAddress,
  this.paymentMethod,
  this.modelsCount = 0,
});