Bip39Mnemonic class

BIP-39 mnemonic phrase representation.

This class provides methods for creating BIP-39 mnemonics from strings and lists of words.

Inheritance
Implementers

Constructors

Bip39Mnemonic.fromList(List<String> mnemonic)
Constructs a BIP-39 mnemonic from a list of words. This constructor initializes a BIP-39 mnemonic object using a list of BIP-39 words.
Bip39Mnemonic.fromString(String mnemonic)
Constructs a BIP-39 mnemonic from a mnemonic phrase provided as a string. This constructor initializes a BIP-39 mnemonic object by parsing the input 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