Skip to content

LateError (LateInitializationError: Field '_instance@166265524' has not been initialized.) #98

@likeablegeek

Description

@likeablegeek

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions