Mnemonic constructor

Mnemonic(
  1. List<int> entropy,
  2. Language language, {
  3. String passphrase = "",
})

Constructs Mnemonic from entropy bytes.

Implementation

Mnemonic(this.entropy, this.language, {this.passphrase = ""}) {
  if (![128, 160, 192, 224, 256].contains(_ENT)) {
    throw Exception("mnemonic: unexpected initial entropy length");
  }
}