TonWalletTransferResult class

Represents result of sending a transaction from the current user's TON wallet

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

TonWalletTransferResult({required bool isGasless, required String msgHash, TonWalletTransaction? transaction})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
isGasless → bool
isGasless True, if the transfer is gasless
final
msgHash → String
msgHash Unique identifier of the sent message; use getTonWalletTransactionByMsgHash to poll information about the transaction
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transaction → TonWalletTransaction?
transaction The completed transaction; may be null if the transaction is still pending
final

Methods

copyWith({bool? isGasless, String? msgHash, TonWalletTransaction? transaction}) → TonWalletTransferResult

Available on TonWalletTransferResult, provided by the TonWalletTransferResultExtensions 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

Static Methods

fromJson(Map<String, dynamic>? json) → TonWalletTransferResult?

Constants

constructor → const String