TonPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- TonPlatform
- Implementers
Constructors
- TonPlatform.new()
- Constructs a TonPlatform.
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 passwordsCount
to specify number of words in your password list -
getPlatformVersion(
) → Future< String?> -
isMnemonicValid(
List< String> mnemonic, [String? password]) → Future<bool> - Check if the given mnemonic is valid or not
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSeed(
List< String> mnemonic) → Future<Uint8List?> -
Converts
mnemonic
to Seed -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ TonPlatform
-
The default instance of TonPlatform to use.
getter/setter pair