generateMnemonic static method

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

Implementation

static String generateMnemonic({int strength = 128 }) {
  return bip39.generateMnemonic(strength: strength, randomBytes: _getRandom().nextBytes);
}