quick.flutter
quick.flutter copied to clipboard
LateError (LateInitializationError: Field '_instance@166265524' has not been initialized.)
Hi ...
I'm trying to use quick_usb to build a MacOS app. I am trying to follow this example code you provide:
await QuickUsb.init();
// ...
var deviceList = await QuickUsb.getDeviceList();
// ...
await QuickUsb.exit();
However, on the first line (await QuickUsb.init();) I get the following exception thrown:
LateError (LateInitializationError: Field '_instance@166265524' has not been initialized.)
Are there suggestions on how to resolve and/or debug this issue?
I get the same error on Windows when using 0.4.0. It didn't happen with version 0.3.1.