UpgradedGiftOriginOnChainResale class

The gift was bought on the TON blockchain using a fixed-price sale contract

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

UpgradedGiftOriginOnChainResale({required int gramAmount})
const

Properties

gramAmount → int
gramAmount Price paid for the gift, in the smallest units of TON Grams
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? gramAmount}) → UpgradedGiftOriginOnChainResale

Available on UpgradedGiftOriginOnChainResale, provided by the UpgradedGiftOriginOnChainResaleExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult upgrade(UpgradedGiftOriginUpgrade value), required TResult transfer(UpgradedGiftOriginTransfer value), required TResult resale(UpgradedGiftOriginResale value), required TResult blockchain(UpgradedGiftOriginBlockchain value), required TResult prepaidUpgrade(UpgradedGiftOriginPrepaidUpgrade value), required TResult offer(UpgradedGiftOriginOffer value), required TResult craft(UpgradedGiftOriginCraft value), required TResult onChainResale(UpgradedGiftOriginOnChainResale value), required TResult onChainOffer(UpgradedGiftOriginOnChainOffer value)}) → TResult

Available on UpgradedGiftOrigin, provided by the UpgradedGiftOriginExtensions extension

maybeMap<TResult extends Object?>({TResult upgrade(UpgradedGiftOriginUpgrade value)?, TResult transfer(UpgradedGiftOriginTransfer value)?, TResult resale(UpgradedGiftOriginResale value)?, TResult blockchain(UpgradedGiftOriginBlockchain value)?, TResult prepaidUpgrade(UpgradedGiftOriginPrepaidUpgrade value)?, TResult offer(UpgradedGiftOriginOffer value)?, TResult craft(UpgradedGiftOriginCraft value)?, TResult onChainResale(UpgradedGiftOriginOnChainResale value)?, TResult onChainOffer(UpgradedGiftOriginOnChainOffer value)?, required TResult orElse()}) → TResult

Available on UpgradedGiftOrigin, provided by the UpgradedGiftOriginExtensions 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