UpgradedGift constructor
const
UpgradedGift({
- required int id,
- required int regularGiftId,
- required int publisherChatId,
- required String title,
- required String name,
- required int number,
- required int totalUpgradedCount,
- required int maxUpgradedCount,
- required bool isBurned,
- required bool isCrafted,
- required bool isPremium,
- required bool isThemeAvailable,
- required int usedThemeChatId,
- MessageSender? hostId,
- MessageSender? ownerId,
- required String ownerAddress,
- required String ownerName,
- required String giftAddress,
- required bool canBeTonWalletCardBackground,
- required UpgradedGiftModel model,
- required UpgradedGiftSymbol symbol,
- required UpgradedGiftBackdrop backdrop,
- UpgradedGiftOriginalDetails? originalDetails,
- UpgradedGiftColors? colors,
- required bool usesOnChainResale,
- GiftResaleParameters? resaleParameters,
- required int feeBasisPoints,
- required bool canSendPurchaseOffer,
- required int minOnChainPurchaseOfferGramAmount,
- required int craftProbabilityPerMille,
- required String valueCurrency,
- required int valueAmount,
- required int valueUsdAmount,
Implementation
const UpgradedGift({
required this.id,
required this.regularGiftId,
required this.publisherChatId,
required this.title,
required this.name,
required this.number,
required this.totalUpgradedCount,
required this.maxUpgradedCount,
required this.isBurned,
required this.isCrafted,
required this.isPremium,
required this.isThemeAvailable,
required this.usedThemeChatId,
this.hostId,
this.ownerId,
required this.ownerAddress,
required this.ownerName,
required this.giftAddress,
required this.canBeTonWalletCardBackground,
required this.model,
required this.symbol,
required this.backdrop,
this.originalDetails,
this.colors,
required this.usesOnChainResale,
this.resaleParameters,
required this.feeBasisPoints,
required this.canSendPurchaseOffer,
required this.minOnChainPurchaseOfferGramAmount,
required this.craftProbabilityPerMille,
required this.valueCurrency,
required this.valueAmount,
required this.valueUsdAmount,
});