Bip39MnemonicValidator class
Validates BIP39 mnemonics based on a specified language.
- Inheritance
-
- Object
- MnemonicValidator<
Bip39MnemonicDecoder> - Bip39MnemonicValidator
Constructors
- Bip39MnemonicValidator([Bip39Languages? language])
- Creates a new instance of the Bip39MnemonicValidator.
Properties
- decoder → Bip39MnemonicDecoder
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isValid(
String mnemonic) → bool -
Checks if a given
mnemonicphrase is valid.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
String mnemonic) → void -
Validates a given
mnemonicphrase using the associated decoder.inherited -
validateWords(
String mnemonic) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited