copyWith method

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

Implementation

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