MethodChannelTon class
An implementation of TonPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- TonPlatform
- MethodChannelTon
Constructors
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 passwordsCount
to specify number of words in your password listoverride -
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 Seedoverride -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited