copyWith method

GiftAuctionAcquiredGift copyWith({
  1. MessageSender? receiverId,
  2. int? date,
  3. int? starCount,
  4. int? auctionRoundNumber,
  5. int? auctionRoundPosition,
  6. int? uniqueGiftNumber,
  7. FormattedText? text,
  8. bool? isPrivate,
})

Implementation

GiftAuctionAcquiredGift copyWith({
  MessageSender? receiverId,
  int? date,
  int? starCount,
  int? auctionRoundNumber,
  int? auctionRoundPosition,
  int? uniqueGiftNumber,
  FormattedText? text,
  bool? isPrivate,
}) => GiftAuctionAcquiredGift(
  receiverId: receiverId ?? this.receiverId,
  date: date ?? this.date,
  starCount: starCount ?? this.starCount,
  auctionRoundNumber: auctionRoundNumber ?? this.auctionRoundNumber,
  auctionRoundPosition: auctionRoundPosition ?? this.auctionRoundPosition,
  uniqueGiftNumber: uniqueGiftNumber ?? this.uniqueGiftNumber,
  text: text ?? this.text,
  isPrivate: isPrivate ?? this.isPrivate,
);