processFullCode method

void processFullCode(
  1. String code
)

Implementation

void processFullCode(String code) {
  if (code.isNotEmpty) {
    _barcodeStreamController.add(_scannedCode);
    _scannedCode = ''; // Reset for next scan after sending
  }
}