get static method
Implementation
static HydraPlugin get(Vault vault, Network network, int account) {
final nativeNet = network.networkNativeName.toNativeUtf8();
try {
final ffiPlugin = DartApi.native.hydraPlugin
.get(vault.ffi, nativeNet, account)
.extract((res) => res.asPointer<Void>());
return HydraPlugin(ffiPlugin, true);
} finally {
calloc.free(nativeNet);
}
}