Bip39MnemonicDecoder constructor
Bip39MnemonicDecoder([
- Bip39Languages? language
Constructor for Bip39MnemonicDecoder class.
Creates an instance of the Bip39MnemonicDecoder class with an optional
language
parameter, which specifies the language used for BIP39 mnemonics.
If no language
is provided, it defaults to Bip39Languages.english.
The constructor initializes the decoder with the appropriate language
,
Example usage:
final decoder = Bip39MnemonicDecoder(Bip39Languages.spanish);
final entropy = decoder.decode("your BIP39 mnemonic phrase here");
Parameters:
language
: The language for BIP39 mnemonics)
Implementation
Bip39MnemonicDecoder([Bip39Languages? language])
: super(
language: language,
wordsListFinder: Bip39WordsListFinder(),
wordsListGetter: Bip39WordsListGetter());