Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void io.flutter.plugin.common.MethodChannel.invokeMethod(java.lang.String, java.lang.Object)' on a null object reference
at com.github.contactlutforrahman.flutter_qr_bar_scanner.FlutterQrBarScannerPlugin.qrRead(FlutterQrBarScannerPlugin.java:216)
at com.github.contactlutforrahman.flutter_qr_bar_scanner.QrDetector.onSuccess(QrDetector.java:80)
at com.github.contactlutforrahman.flutter_qr_bar_scanner.QrDetector.onSuccess(QrDetector.java:22)
at com.google.android.gms.tasks.zzm.run(com.google.android.gms:play-services-tasks@@18.0.1:1)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:233)
at android.app.ActivityThread.main(ActivityThread.java:7225)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:499)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:962)
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void io.flutter.plugin.common.MethodChannel.invokeMethod(java.lang.String, java.lang.Object)' on a null object reference at com.github.contactlutforrahman.flutter_qr_bar_scanner.FlutterQrBarScannerPlugin.qrRead(FlutterQrBarScannerPlugin.java:216) at com.github.contactlutforrahman.flutter_qr_bar_scanner.QrDetector.onSuccess(QrDetector.java:80) at com.github.contactlutforrahman.flutter_qr_bar_scanner.QrDetector.onSuccess(QrDetector.java:22) at com.google.android.gms.tasks.zzm.run(com.google.android.gms:play-services-tasks@@18.0.1:1) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:233) at android.app.ActivityThread.main(ActivityThread.java:7225) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:499) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:962)