getBarcodeStreamReceiver static method
Implementation
static Future<void> getBarcodeStreamReceiver(
void Function(String) updateListener) async {
_channel.setMethodCallHandler((MethodCall call) async {
if (call.method == 'updateBarcodeScannerValue') {
updateListener(call.arguments);
}
});
}