setAdditionalBarcodes method

Future<void> setAdditionalBarcodes(
  1. List<Barcode> barcodes
)

Use this method to inject barcodes that will be used as partial scanning result. BarcodeCountView will consider these barcodes when updating the UI. Note that, if scanning against a list where multiple instances of the same barcode are expected, each entry in this list will only count as 1 towards the expected total. In order to specify that several instances of a barcode were scanned in previous sessions, this list should include one entry per each of those instances.

Added in version 6.17.0

Implementation

Future<void> setAdditionalBarcodes(List<Barcode> barcodes) {
  _additionalBarcodes = barcodes;
  return didChange();
}