DynamicLibrary.open constructor - DynamicLibrary - dart:ffi library (original) (raw)
DynamicLibrary.open(
- String path )
Loads a library file and provides access to its symbols.
The path
must refer to a native library file which can be successfully loaded.
Calling this function multiple times with the same path
, even across different isolates, only loads the library into the DartVM process once. Multiple loads of the same library file produces DynamicLibrary objects which are equal (==
), but not identical.
Implementation
external factory DynamicLibrary.open(String path);