DeleteTonWallet class
Deletes the current TON wallet of the user and creates a new one; can be used only if getOption("can_use_ton_wallet") Returns Ok
- Inheritance
-
- Object
- TdFunction
- DeleteTonWallet
- Available extensions
- Annotations
-
- @immutable
Constructors
- DeleteTonWallet({required String password})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- password → String
-
password Password of the current user; pass an empty string unless an
error with a message "PASSWORD_MISSING" was received for a passwordless
request
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? password}) → DeleteTonWallet -
Available on DeleteTonWallet, provided by the DeleteTonWalletExtensions extension
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- constructor → const String