Order constructor

Order(
  1. dynamic id,
  2. dynamic createdAt,
  3. dynamic updatedAt,
  4. dynamic objectType,
  5. dynamic mode,
  6. Address? buyerAddress,
  7. List<CarrierAccount>? carrierAccounts,
  8. CustomsInfo? customsInfo,
  9. Address? fromAddress,
  10. bool? isReturn,
  11. List<Message>? messages,
  12. List<OrderRate>? rates,
  13. String? reference,
  14. Address? returnAddress,
  15. String? service,
  16. List<Shipment>? shipments,
  17. Address? toAddress
)

Implementation

Order(
  id,
  createdAt,
  updatedAt,
  objectType,
  mode,
  this.buyerAddress,
  this.carrierAccounts,
  this.customsInfo,
  this.fromAddress,
  this.isReturn,
  this.messages,
  this.rates,
  this.reference,
  this.returnAddress,
  this.service,
  this.shipments,
  this.toAddress,
) : super(id, createdAt, updatedAt, objectType, mode);