newFromMnemonic method

  1. @override
Future<Map> newFromMnemonic({
  1. required String mnemonic,
})
override

Implementation

@override
Future<Map> newFromMnemonic({
  required String mnemonic,
}) {
  var newWallet = js_wallet.newWalletFromMnemonic(mnemonic);
  return Future.value(_jsObjectToMap(newWallet));
}