fromMnemonic static method
Implementation
static Future<Keypair> fromMnemonic(String mnemonic) async {
Ed25519HDKeyPair x = await Ed25519HDKeyPair.fromMnemonic(mnemonic, account: 0);
Keypair kp = await _fromEd25519HDKeyPair(x);
return _create(kp.secretKey, mnemonic);
}