ProductData constructor

const ProductData({
  1. required int id,
  2. required String name,
  3. required double price,
  4. required bool active,
  5. String? imagePath,
  6. required int categoryId,
  7. required double estimatedInputPrice,
  8. required double taxRate,
  9. String? description,
})

Implementation

const ProductData({
  required this.id,
  required this.name,
  required this.price,
  required this.active,
  this.imagePath,
  required this.categoryId,
  required this.estimatedInputPrice,
  required this.taxRate,
  this.description,
});