ScanResult constructor

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

Creates a new scan result