Content constructor

Content({
  1. String? createdAt,
  2. String? updatedAt,
  3. dynamic userId,
  4. int? id,
  5. String? reference,
  6. String? orderDesc,
  7. dynamic couponCode,
  8. dynamic platform,
  9. dynamic currencyName,
  10. String? currencyCode,
  11. dynamic deliveryAddress,
  12. dynamic totalQty,
  13. dynamic total,
  14. dynamic subtotal,
  15. dynamic totalDiscount,
  16. dynamic totalPaid,
  17. dynamic balance,
  18. dynamic totalMargin,
  19. dynamic deliveryCharge,
  20. dynamic vat,
  21. String? status,
  22. bool? offlineSale,
  23. bool? manualSale,
  24. String? dateSynced,
  25. bool? viewed,
  26. List<Item>? items,
  27. dynamic channel,
  28. Customer? customer,
  29. dynamic staff,
  30. Delivery? delivery,
})

Implementation

Content({
    this.createdAt,
    this.updatedAt,
    this.userId,
    this.id,
    this.reference,
    this.orderDesc,
    this.couponCode,
    this.platform,
    this.currencyName,
    this.currencyCode,
    this.deliveryAddress,
    this.totalQty,
    this.total,
    this.subtotal,
    this.totalDiscount,
    this.totalPaid,
    this.balance,
    this.totalMargin,
    this.deliveryCharge,
    this.vat,
    this.status,
    this.offlineSale,
    this.manualSale,
    this.dateSynced,
    this.viewed,
    this.items,
    this.channel,
    this.customer,
    this.staff,
    this.delivery,
});