newFromPrivateKey method

  1. @override
Future<Map> newFromPrivateKey({
  1. required String privateKey,
})
override

Implementation

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