mnemonicToSeed function
Uses KDF to derive 64 bytes of key data from mnemonic with empty password.
Implementation
Uint8List mnemonicToSeed(String mnemonics) {
if (!isValidMnemonics(mnemonics)) {
throw ArgumentError("Invalid mnemonics");
}
return bip39.mnemonicToSeed(mnemonics, passphrase: "");
}