Order constructor
Order({
- int? id,
- String? vendorOrderId,
- dynamic reason,
- int? displayId,
- int? stage,
- String? paymentType,
- List<
Destination> ? origin, - List<
Destination> ? destination, - dynamic returnAddress,
- Pricing? pricing,
- Distances? distances,
- Delivery? delivery,
- Vendor? vendor,
- dynamic courier,
- dynamic trace,
- 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,
});