generateMnemonic static method

List<String> generateMnemonic({
  1. int strength = 128,
})

Returns a randomly generated seed phrase.

Implementation

static List<String> generateMnemonic({int strength = 128}) {
  return bip39.generateMnemonic(strength: strength).split(_separator);
}