unload method
Unregister a previously-loaded plugin and dlclose its handle.
Implementation
Future<void> unload(String name) async {
if (!DartBridge.isInitialized) {
throw SDKException.notInitialized();
}
final rc = DartBridgePluginLoader.unloadPlugin(name);
if (rc != 0) {
_throwForCode('unload', name, rc);
}
}