copyWith method
ProxyArticleWorth
copyWith({
- int? price,
- int? cost,
- int? calibreId,
- int? articleId,
- int? id,
- int? proxyCalibreId,
- int? proxyArticleId,
- bool? status,
- double? minimumUnitPerBasket,
- double? articleWeight,
override
Implementation
@override
ProxyArticleWorth copyWith({
int? price,
int? cost,
int? calibreId,
int? articleId,
int? id,
int? proxyCalibreId,
int? proxyArticleId,
bool? status,
double? minimumUnitPerBasket,
double? articleWeight,
}) {
return ProxyArticleWorth(
price: price ?? this.price,
cost: cost ?? this.cost,
calibreId: calibreId ?? this.calibreId,
articleId: articleId ?? this.articleId,
id: id ?? this.id,
proxyArticleId: proxyArticleId ?? this.proxyArticleId,
proxyCalibreId: proxyCalibreId ?? this.proxyCalibreId,
status: status ?? this.status,
minimumUnitPerBasket: minimumUnitPerBasket ?? this.minimumUnitPerBasket,
articleWeight: articleWeight ?? this.articleWeight,
);
}