Mnemonic class

Represents a mnemonic phrase used for various cryptographic purposes. It encapsulates a list of mnemonic words and provides methods for working with these words.

Implementers

Constructors

Mnemonic(List<String> _mnemonicList)
Creates a new Mnemonic instance from a list of mnemonic words.
Mnemonic.fromList(List<String> mnemonicList)
Creates a new Mnemonic instance from a list of mnemonic words.
Mnemonic.fromString(String mnemonicStr)
Creates a new Mnemonic instance from a mnemonic phrase provided as a string. The provided mnemonic string is normalized into a list of words.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList() List<String>
Returns the mnemonic phrase as a list of words.
toStr() String
Returns the mnemonic phrase as a string with words separated by spaces.
toString() String
Returns the mnemonic phrase as a string with words separated by spaces.
override
wordsCount() int
Returns the number of words in the mnemonic phrase.

Operators

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