load method
Load a shared library at path and register the
rac_plugin_entry_<stem> it exposes with the in-process plugin
registry.
Implementation
Future<PluginInfo> load(String path) async {
if (!DartBridge.isInitialized) {
throw SDKException.notInitialized();
}
final result = DartBridgePluginLoader.loadPlugin(path);
if (!result.success) {
_throwForCode('load', path, result.resultCode);
}
return PluginInfo(name: result.name, path: path);
}