MnemonicDecoderBase<LANG extends MnemonicLanguages> class abstract

An abstract base class for mnemonic phrase decoding in various languages and word lists.

Implementers

Constructors

MnemonicDecoderBase({LANG? language, required MnemonicWordsListFinderBase<LANG> wordsListFinder, required MnemonicWordsListGetterBase<MnemonicLanguages> wordsListGetter})
Creates a MnemonicDecoderBase instance with optional language and required components.

Properties

hashCode int
The hash code for this object.
no setterinherited
language → LANG?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wordsList MnemonicWordsList?
final
wordsListFinder MnemonicWordsListFinderBase<LANG>
final

Methods

decode(String mnemonic) List<int>
Decodes the provided mnemonic phrase into binary data.
findLanguage(Mnemonic mnemonic) → (MnemonicWordsList, LANG)
Finds the language and word list for a given mnemonic phrase.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited