OrderDTO constructor

OrderDTO({
  1. String? id,
  2. String? createdAt,
  3. String? updatedAt,
  4. bool? isActive,
  5. bool? isDeleted,
  6. OrderStatus? status,
  7. OrderType? type,
  8. String? customerNote,
  9. String? storeNote,
  10. List<OrderItemDTO>? items,
  11. UserDTO? customer,
  12. List<Invoices>? invoices,
  13. AddressDTO? billingAddress,
  14. AddressDTO? shippingAddress,
  15. List<CampaignDTO>? campaigns,
  16. String? note,
  17. String? billingAddressId,
  18. String? shippingAddressId,
  19. bool? isPaid,
  20. StoreDTO? store,
  21. PaymentType? paymentMethod,
  22. bool? isTest,
  23. String? deletedAt,
  24. String? deliveryDate,
})

Implementation

OrderDTO({
  super.id,
  super.createdAt,
  super.updatedAt,
  super.isActive,
  super.isDeleted,
  this.status,
  this.type,
  this.customerNote,
  this.storeNote,
  this.items,
  this.customer,
  this.invoices,
  this.billingAddress,
  this.shippingAddress,
  this.campaigns,
  this.note,
  this.billingAddressId,
  this.shippingAddressId,
  this.isPaid,
  this.store,
  this.paymentMethod,
  this.isTest,
  this.deletedAt,
  this.deliveryDate,
});