read_barcode library Null safety

Classes

BarcodeReader
The below class listen to the keyboard events and it return string of every keyboard event. It will notify to the parent class whenever key event occurs.