gotResult property

bool gotResult

Consider that we have a barcode result once enough identic results are found

Implementation

bool get gotResult =>
    resultCount > 2 &&
    _barcodeResults.values.any(
      (singleBarcodeCount) => singleBarcodeCount > 2,
    );