TonWalletTransactionTypeTelegramGiftTransfer class

A Telegram gift was minted as a TON NFT directly to the wallet, or a minted gift was linked to or unlinked from a Telegram account. Information about the other user isn't available

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

TonWalletTransactionTypeTelegramGiftTransfer({required TonNft nft, required bool isOutgoing, required bool isSaved})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
isOutgoing → bool
isOutgoing True, if the transfer is from the wallet to Telegram
final
isSaved → bool
isSaved True, if the gift was displayed on the current user's profile page before or after the transfer
final
nft → TonNft
nft The minted or transferred NFT
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({TonNft? nft, bool? isOutgoing, bool? isSaved}) → TonWalletTransactionTypeTelegramGiftTransfer

Available on TonWalletTransactionTypeTelegramGiftTransfer, provided by the TonWalletTransactionTypeTelegramGiftTransferExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult onRampDeposit(TonWalletTransactionTypeOnRampDeposit value), required TResult transfer(TonWalletTransactionTypeTransfer value), required TResult nftTransfer(TonWalletTransactionTypeNftTransfer value), required TResult telegramGiftTransfer(TonWalletTransactionTypeTelegramGiftTransfer value), required TResult telegramGiftPurchase(TonWalletTransactionTypeTelegramGiftPurchase value), required TResult telegramGiftSale(TonWalletTransactionTypeTelegramGiftSale value), required TResult telegramGiftListing(TonWalletTransactionTypeTelegramGiftListing value), required TResult telegramGiftDelisting(TonWalletTransactionTypeTelegramGiftDelisting value), required TResult telegramGiftOfferCreation(TonWalletTransactionTypeTelegramGiftOfferCreation value), required TResult telegramGiftOfferAcceptance(TonWalletTransactionTypeTelegramGiftOfferAcceptance value), required TResult telegramGiftOfferCancellation(TonWalletTransactionTypeTelegramGiftOfferCancellation value), required TResult telegramGiftOfferDecline(TonWalletTransactionTypeTelegramGiftOfferDecline value), required TResult telegramGiftOfferExpiration(TonWalletTransactionTypeTelegramGiftOfferExpiration value), required TResult keyChange(TonWalletTransactionTypeKeyChange value)}) → TResult

Available on TonWalletTransactionType, provided by the TonWalletTransactionTypeExtensions extension

maybeMap<TResult extends Object?>({TResult onRampDeposit(TonWalletTransactionTypeOnRampDeposit value)?, TResult transfer(TonWalletTransactionTypeTransfer value)?, TResult nftTransfer(TonWalletTransactionTypeNftTransfer value)?, TResult telegramGiftTransfer(TonWalletTransactionTypeTelegramGiftTransfer value)?, TResult telegramGiftPurchase(TonWalletTransactionTypeTelegramGiftPurchase value)?, TResult telegramGiftSale(TonWalletTransactionTypeTelegramGiftSale value)?, TResult telegramGiftListing(TonWalletTransactionTypeTelegramGiftListing value)?, TResult telegramGiftDelisting(TonWalletTransactionTypeTelegramGiftDelisting value)?, TResult telegramGiftOfferCreation(TonWalletTransactionTypeTelegramGiftOfferCreation value)?, TResult telegramGiftOfferAcceptance(TonWalletTransactionTypeTelegramGiftOfferAcceptance value)?, TResult telegramGiftOfferCancellation(TonWalletTransactionTypeTelegramGiftOfferCancellation value)?, TResult telegramGiftOfferDecline(TonWalletTransactionTypeTelegramGiftOfferDecline value)?, TResult telegramGiftOfferExpiration(TonWalletTransactionTypeTelegramGiftOfferExpiration value)?, TResult keyChange(TonWalletTransactionTypeKeyChange value)?, required TResult orElse()}) → TResult

Available on TonWalletTransactionType, provided by the TonWalletTransactionTypeExtensions extension

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