newFromPrivateKey method
Implementation
@override
Future<DartWalletUnlocked> newFromPrivateKey({
required String networkUrl,
required String privateKey,
}) async {
final newWallet = await promiseToFuture(
js_wallet.newWalletFromPrivateKey(addHexPrefix(privateKey)));
final jsWallet = JsWallet.fromJsObject(newWallet, networkUrl);
return WebWalletUnlocked(jsWallet);
}