MethodChannelTon class

An implementation of TonPlatform that uses method channels.

Inheritance

Constructors

MethodChannelTon.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
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?>
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) 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