Looks up a symbol in the DynamicLibrary and returns its address in memory.
Similar to the functionality of the dlsym(3) system call.
The symbol must be provided by the dynamic library. To check whether the library provides such symbol, use providesSymbol.
external Pointer<T> lookup<T extends NativeType>(String symbolName);
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-ffi/DynamicLibrary/lookup.html