TonWeb class

A web implementation of the TonPlatform of the Ton plugin.

Inheritance

Constructors

TonWeb.new()
Constructs a TonWeb

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

generateRandomMnemonic({String? password, int wordsCount = 24}) Future<List<String>?>
Generate a random mnemonic password will be used if it is passed to this method You can also pass wordsCount to specify number of words in your password list
override
getPlatformVersion() Future<String?>
Returns a String containing the version of the platform.
override
isMnemonicValid(List<String> mnemonic, [String? password]) Future<bool>
Check if the given mnemonic is valid or not
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toSeed(List<String> mnemonic, [String? password]) Future<Uint8List?>
Converts mnemonic to Seed
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void