copyWith method

AuctionStateFinished copyWith({
  1. int? startDate,
  2. int? endDate,
  3. int? averagePrice,
  4. int? acquiredItemCount,
  5. int? telegramListedItemCount,
  6. int? fragmentListedItemCount,
  7. String? fragmentUrl,
})

Implementation

AuctionStateFinished copyWith({
  int? startDate,
  int? endDate,
  int? averagePrice,
  int? acquiredItemCount,
  int? telegramListedItemCount,
  int? fragmentListedItemCount,
  String? fragmentUrl,
}) => AuctionStateFinished(
  startDate: startDate ?? this.startDate,
  endDate: endDate ?? this.endDate,
  averagePrice: averagePrice ?? this.averagePrice,
  acquiredItemCount: acquiredItemCount ?? this.acquiredItemCount,
  telegramListedItemCount:
      telegramListedItemCount ?? this.telegramListedItemCount,
  fragmentListedItemCount:
      fragmentListedItemCount ?? this.fragmentListedItemCount,
  fragmentUrl: fragmentUrl ?? this.fragmentUrl,
);