Mnemonic class
Mnemonic phrases are a human-readable version of the private keys. Supported number of words are 12, 18, and 24.
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
-
asString(
) → String - Returns Mnemonic as string
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
WordCount wordCount) → Future< Mnemonic> - Generates Mnemonic with given WordCount
-
fromEntropy(
Uint8List entropy) → Future< Mnemonic> - Create a new Mnemonic in the specified language from the given entropy. Entropy must be a multiple of 32 bits (4 bytes) and 128-256 bits in length.
-
fromString(
String mnemonic) → Future< Mnemonic> - Parse a Mnemonic with given string