copyWith method

PlaceGiftAuctionBid copyWith({
  1. int? giftId,
  2. int? starCount,
  3. int? userId,
  4. FormattedText? text,
  5. bool? isPrivate,
})

Implementation

PlaceGiftAuctionBid copyWith({
  int? giftId,
  int? starCount,
  int? userId,
  FormattedText? text,
  bool? isPrivate,
}) => PlaceGiftAuctionBid(
  giftId: giftId ?? this.giftId,
  starCount: starCount ?? this.starCount,
  userId: userId ?? this.userId,
  text: text ?? this.text,
  isPrivate: isPrivate ?? this.isPrivate,
);