ProductModel constructor

ProductModel({
  1. required String name,
  2. required String serialNumber,
  3. required String manufacture,
  4. required String category,
  5. required bool trusted,
  6. int id = 0,
  7. String onError = '',
})

Implementation

ProductModel({
  required this.name,
  required this.serialNumber,
  required this.manufacture,
  required this.category, //required this.productBoycottResonLink,
  required this.trusted,
  this.id = 0,
  this.onError = '',
});