dispose method

void dispose()

Implementation

void dispose() {
  _hardwareKeyboard.removeHandler(_handleKey);
  _codeStreamSubscription.cancel();
  _codeStreamController.close();
  _barcodeStreamController.close();
}