Order constructor

Order({
  1. String? id,
  2. String? incrementId,
  3. String? status,
  4. String? state,
  5. int? customerId,
  6. String? customerEmail,
  7. String? customerFirstName,
  8. String? customerLastName,
  9. List<OrderItem>? items,
  10. OrderTotals? totals,
  11. String? currencyCode,
  12. DateTime? createdAt,
  13. DateTime? updatedAt,
})

Implementation

Order({
  this.id,
  this.incrementId,
  this.status,
  this.state,
  this.customerId,
  this.customerEmail,
  this.customerFirstName,
  this.customerLastName,
  this.items,
  this.totals,
  this.currencyCode,
  this.createdAt,
  this.updatedAt,
});