Product constructor

Product({
  1. required String janCode,
  2. required String name,
  3. double? unitPrice,
  4. double? price,
  5. bool? isDiscounted,
  6. String? other,
})

Implementation

Product({
  required this.janCode,
  required this.name,
  this.unitPrice,
  this.price,
  this.isDiscounted,
  this.other,
});