newFromPrivateKey method
Implementation
@override
Future<Map> newFromPrivateKey({
required String privateKey,
}) {
var newWallet = js_wallet.newWalletFromPrivateKey(privateKey);
return Future.value(_jsObjectToMap(newWallet));
}
@override
Future<Map> newFromPrivateKey({
required String privateKey,
}) {
var newWallet = js_wallet.newWalletFromPrivateKey(privateKey);
return Future.value(_jsObjectToMap(newWallet));
}