EnableTonWalletBackup class

Enables backup of the TON wallet of the user. Works only if tonWalletState.can_enable_backup is true Returns Ok

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

EnableTonWalletBackup({required String secretPhrase, required TonWalletOwnershipProof proof})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
proof → TonWalletOwnershipProof
proof Proof of the TON wallet ownership; use getTonWalletOwnershipProofChallenge to get a challenge for the proof
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretPhrase → String
secretPhrase The secret phrase of the user's TON wallet as a space separated list of words
final

Methods

copyWith({String? secretPhrase, TonWalletOwnershipProof? proof}) → EnableTonWalletBackup

Available on EnableTonWalletBackup, provided by the EnableTonWalletBackupExtensions 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