ElectrumV2MnemonicDecoder constructor

ElectrumV2MnemonicDecoder({
  1. ElectrumV2MnemonicTypes? mnemonicType,
  2. ElectrumV2Languages? language,
})

Constructs an Electrum V2 mnemonic decoder with optional parameters.

The decoder is used to decode Electrum V2 mnemonics. It accepts an optional mnemonicType parameter to specify the type of Electrum V2 mnemonic, and an optional language parameter to specify the language for mnemonic decoding (default: English).

mnemonicType: The type of Electrum V2 mnemonic (optional). language: The language used for mnemonic decoding (default: English).

Implementation

ElectrumV2MnemonicDecoder({
  this.mnemonicType,
  ElectrumV2Languages? language,
}) : super(
        language: language,
        wordsListFinder: Bip39WordsListFinder(),
        wordsListGetter: Bip39WordsListGetter(),
      );