BarcodeDetails constructor

BarcodeDetails({
  1. required String type,
  2. required String description,
  3. required String country,
})

Creates a new BarcodeDetails instance.

type is the type of barcode (e.g., EAN-13, UPC-A). description is a description of the barcode. country is the country of origin for the barcode.

Implementation

BarcodeDetails({
  required this.type,
  required this.description,
  required this.country,
});