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