MoneroMnemonicValidator class

A class for validating Monero mnemonics.

This class extends MnemonicValidator and is specialized for validating Monero mnemonics. It uses a MoneroMnemonicDecoder for decoding and validating Monero mnemonics.

language: The Monero language used for validation. Defaults to null, allowing the decoder to use the default language.

Inheritance

Constructors

MoneroMnemonicValidator([MoneroLanguages? language])
Constructs a MoneroMnemonicValidator with an optional language parameter.

Properties

decoder MnemonicDecoderBase
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 mnemonic phrase 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 mnemonic phrase using the associated decoder.
inherited

Operators

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