MoneroMnemonic class

A class representing a Monero mnemonic.

This class extends the base Mnemonic class and provides specialized constructors for creating Monero mnemonics. It allows the creation of a Monero mnemonic from a list of words, a mnemonic string, or an existing list of mnemonic words.

Inheritance

Constructors

MoneroMnemonic.fromList(List<String> mnemonic)
Constructs a MoneroMnemonic from a list of mnemonic words.
MoneroMnemonic.fromString(String mnemonic)
Constructs a MoneroMnemonic from a mnemonic string.

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.
inherited
toStr() String
Returns the mnemonic phrase as a string with words separated by spaces.
inherited
toString() String
Returns the mnemonic phrase as a string with words separated by spaces.
inherited
wordsCount() int
Returns the number of words in the mnemonic phrase.
inherited

Operators

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