lib property

DynamicLibrary lib
getter/setter pair

You can replace it with the version you want

Implementation

static DynamicLibrary lib = Platform.isIOS || Platform.isMacOS
    ? getMacOsIOSJavascriptCoreLibPath()
    : Platform.isWindows
        ? DynamicLibrary.open('JavaScriptCore.dll')
        : Platform.isLinux
            ? DynamicLibrary.open('libjavascriptcoregtk-4.0.so.18')
            : DynamicLibrary.open('libjsc.so');