Order constructor

Order({
  1. int? id,
  2. String? vendorOrderId,
  3. dynamic reason,
  4. int? displayId,
  5. int? stage,
  6. String? paymentType,
  7. List<Destination>? origin,
  8. List<Destination>? destination,
  9. dynamic returnAddress,
  10. Pricing? pricing,
  11. Distances? distances,
  12. Delivery? delivery,
  13. Vendor? vendor,
  14. dynamic courier,
  15. dynamic trace,
  16. DateTime? createdAt,
})

Implementation

Order({
  this.id,
  this.vendorOrderId,
  this.reason,
  this.displayId,
  this.stage,
  this.paymentType,
  this.origin,
  this.destination,
  this.returnAddress,
  this.pricing,
  this.distances,
  this.delivery,
  this.vendor,
  this.courier,
  this.trace,
  this.createdAt,
});