resetScanHistory method

void resetScanHistory()

Clears the de-duplication window so the same code fires again.

Implementation

void resetScanHistory() => _recentCodes.clear();