TonMnemonicGeneratorUtils class

The TonMnemonicGeneratorUtils class provides utility methods for validating the number of mnemonic words and calculating the corresponding bit length.

Constructors

TonMnemonicGeneratorUtils()

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

getBitlength(int wordsNum) int
Returns the bit length corresponding to the number of mnemonic words.
validateWordsNum(int wordsNum) → void
Validates that the number of mnemonic words is within the acceptable range (8 to 48).