Product constructor

Product({
  1. required String name,
  2. required int quantity,
  3. required int unitAmount,
})

Implementation

Product({
  required this.name,
  required this.quantity,
  required this.unitAmount,
});