Bip39 class

Wrapper around the Bip-39 library making it easier to deal with mnemonic phrases.

Constructors

Bip39()

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

generateMnemonic({int strength = 128}) List<String>
Returns a randomly generated seed phrase.
mnemonicToSeed(List<String> mnemonic) Uint8List
Returns a seed from the provided mnemonic that can be used to generate a new wallet.
validateMnemonic(List<String> mnemonic) bool
Returns true if the provided mnemonic is valid, or false otherwise.