fromMnemonic method

Future<PrivateKey> fromMnemonic (String mn)

Implementation

static Future<PrivateKey> fromMnemonic(String mn) async {
  var raw =
      await invokeCrypto('prikey.fromMnemonic', [mn, Constant.ontBip44Path]);
  return PrivateKey(raw);
}