copyWith method
EmojiStatusTypeUpgradedGift
copyWith({
- int? upgradedGiftId,
- String? giftTitle,
- String? giftName,
- int? modelCustomEmojiId,
- int? symbolCustomEmojiId,
- UpgradedGiftBackdropColors? backdropColors,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
EmojiStatusTypeUpgradedGift copyWith({
int? upgradedGiftId,
String? giftTitle,
String? giftName,
int? modelCustomEmojiId,
int? symbolCustomEmojiId,
UpgradedGiftBackdropColors? backdropColors,
}) => EmojiStatusTypeUpgradedGift(
upgradedGiftId: upgradedGiftId ?? this.upgradedGiftId,
giftTitle: giftTitle ?? this.giftTitle,
giftName: giftName ?? this.giftName,
modelCustomEmojiId: modelCustomEmojiId ?? this.modelCustomEmojiId,
symbolCustomEmojiId: symbolCustomEmojiId ?? this.symbolCustomEmojiId,
backdropColors: backdropColors ?? this.backdropColors,
);