LineItem constructor

LineItem({
  1. int? id,
  2. String? name,
  3. int? productId,
  4. int? variationId,
  5. int? quantity,
  6. String? taxClass,
  7. String? subtotal,
  8. String? subtotalTax,
  9. String? total,
  10. String? totalTax,
  11. List<Tax>? taxes,
  12. List<MetaDatum>? metaData,
  13. String? sku,
  14. int? price,
})

Implementation

LineItem({
  this.id,
  this.name,
  this.productId,
  this.variationId,
  this.quantity,
  this.taxClass,
  this.subtotal,
  this.subtotalTax,
  this.total,
  this.totalTax,
  this.taxes,
  this.metaData,
  this.sku,
  this.price,
});