copyWith method

SearchGiftsForResale copyWith({
  1. int? giftId,
  2. GiftForResaleOrder? order,
  3. bool? forCrafting,
  4. bool? forStars,
  5. List<UpgradedGiftAttributeId>? attributes,
  6. String? offset,
  7. int? limit,
})

Implementation

SearchGiftsForResale copyWith({
  int? giftId,
  GiftForResaleOrder? order,
  bool? forCrafting,
  bool? forStars,
  List<UpgradedGiftAttributeId>? attributes,
  String? offset,
  int? limit,
}) => SearchGiftsForResale(
  giftId: giftId ?? this.giftId,
  order: order ?? this.order,
  forCrafting: forCrafting ?? this.forCrafting,
  forStars: forStars ?? this.forStars,
  attributes: attributes ?? this.attributes,
  offset: offset ?? this.offset,
  limit: limit ?? this.limit,
);