Mnemonic class

Class that manipulates BIP39 English mnemonics.

Constructors

Mnemonic.new()

Properties

generate String
Generate an 12 words valid BIP39 English mnemonic.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

import({required String mnemonic}) → HDWallet
Creates an HDWallet from a valid BIP39 English mnemonic. Null is returned on invalid mnemonic. Returned object needs to be deleted.
isValid({required String mnemonic}) bool
Determines whether a BIP39 English mnemonic phrase is valid. Wallet Core supports only 12 or 24 words mnemonic phrases.