countOf method

int countOf(
  1. String barcode
)

returns the count of a barcode

Implementation

int countOf(String barcode) => _barcodeResults[barcode] ?? 0;