TomMnemonicValidator class

The TomMnemonicValidator class provides methods for validating TON (The Open Network) mnemonic phrases. It ensures the mnemonic meets the required criteria for word count and checks if a passphrase is needed or if it is a basic seed.

Constructors

TomMnemonicValidator()

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

isValid(Mnemonic mnemonic, {String password = ""}) bool
Determines if the given mnemonic string is valid, optionally with a passphrase.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(Mnemonic mnemonic, {String password = ""}) → void
Validates the given mnemonic string, optionally with a password.

Operators

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