isMnemonicValid static method
Wether the given text
is a valid mnemonic or not.
final isValid = Nostr.instance.keysService.isMnemonicValid('your mnemonic');
print(isValid); // ...
Implementation
static bool isMnemonicValid(String text) {
return bip39.validateMnemonic(text);
}