copyWith method
AuctionStateFinished
copyWith({
- int? startDate,
- int? endDate,
- int? averagePrice,
- int? acquiredItemCount,
- int? telegramListedItemCount,
- int? fragmentListedItemCount,
- String? fragmentUrl,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
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,
);