Item constructor

const Item({
  1. String? name,
  2. required Money unitAmount,
  3. Money? tax,
  4. required String quantity,
  5. String? description,
  6. String? sku,
  7. ItemCategory? category,
})

Implementation

const Item({
  this.name,
  required this.unitAmount,
  this.tax,
  required this.quantity,
  this.description,
  this.sku,
  this.category,
});