ScanResult constructor

ScanResult({
  1. ResultType type = ResultType.Barcode,
  2. String rawContent = '',
  3. BarcodeFormat format = BarcodeFormat.unknown,
  4. String formatNote = '',
})

Creates a new scan result

Implementation

ScanResult({
  this.type = ResultType.Barcode,
  this.rawContent = '',
  this.format = BarcodeFormat.unknown,
  this.formatNote = '',
});