mostFrequentBarcode property
String
get
mostFrequentBarcode
returns the barcode with the most results
Implementation
String get mostFrequentBarcode => _barcodeResults.keys.reduce(
(a, b) => countOf(a) > countOf(b) ? a : b,
);