Barcode constructor

Barcode({
  1. required int? country,
  2. required int? company,
  3. required int? product,
  4. required String? barcode,
  5. required int? checkSum,
})

You can manual create your barcode model with input required fields country, company,product,barcode,checkSum

Implementation

Barcode({
  required this.country,
  required this.company,
  required this.product,
  required this.barcode,
  required this.checkSum,
});