validateMnemonicPhrase function
Implementation
void validateMnemonicPhrase(String mnemonic) {
// tries to construct mnemonic from sentence and throws exceptions
// in case of any errors
Mnemonic.fromSentence(mnemonic, Language.english);
}
void validateMnemonicPhrase(String mnemonic) {
// tries to construct mnemonic from sentence and throws exceptions
// in case of any errors
Mnemonic.fromSentence(mnemonic, Language.english);
}