copyWith method

GiftsForResale copyWith({
  1. int? totalCount,
  2. List<GiftForResale>? gifts,
  3. List<UpgradedGiftModelCount>? models,
  4. List<UpgradedGiftSymbolCount>? symbols,
  5. List<UpgradedGiftBackdropCount>? backdrops,
  6. String? nextOffset,
})

Implementation

GiftsForResale copyWith({
  int? totalCount,
  List<GiftForResale>? gifts,
  List<UpgradedGiftModelCount>? models,
  List<UpgradedGiftSymbolCount>? symbols,
  List<UpgradedGiftBackdropCount>? backdrops,
  String? nextOffset,
}) =>
    GiftsForResale(
      totalCount: totalCount ?? this.totalCount,
      gifts: gifts ?? this.gifts,
      models: models ?? this.models,
      symbols: symbols ?? this.symbols,
      backdrops: backdrops ?? this.backdrops,
      nextOffset: nextOffset ?? this.nextOffset,
    );