DynamicLibrary.codeAsset constructor
- @Since.new('3.13')
- String assetId
Loads a code asset registered with assetId in a build hook.
See Build hooks for information about registering code assets.
If the asset is statically linked into the current process or executable, this call can still succeed, but lookup only succeeds for symbols available for dynamic lookup, and close is not supported.
Calling this function multiple times with the same assetId only loads
the library once.
Implementation
@Since('3.13')
external factory DynamicLibrary.codeAsset(String assetId);