validateMnemonic static method

bool validateMnemonic(
  1. List<String> mnemonic
)

Returns true if the provided mnemonic is valid, or false otherwise.

Implementation

static bool validateMnemonic(List<String> mnemonic) {
  return bip39.validateMnemonic(mnemonic.join(_separator));
}