mnemonicToSeed function

Uint8List mnemonicToSeed(
  1. String phrase, {
  2. String passphrase = '',
})

Implementation

Uint8List mnemonicToSeed(String phrase, {String passphrase = ''}) {
  assert(validateMnemonic(phrase), 'Mnemonic phrases is not valid $phrase');
  return bip39.mnemonicToSeed(phrase, passphrase: passphrase);
}