LineItem constructor

LineItem({
  1. required String id,
  2. String? categoryId,
  3. String? name,
  4. String? description,
  5. required int quantity,
  6. String? gtin,
  7. String? imageUrl,
  8. String? brand,
  9. String? externalItemId,
  10. required ItemAmount itemAmount,
})

Implementation

LineItem({
  required this.id,
  this.categoryId,
  this.name,
  this.description,
  required this.quantity,
  this.gtin,
  this.imageUrl,
  this.brand,
  this.externalItemId,
  required this.itemAmount,
});