copyWith method
Implementation
ProxyArticle copyWith({
int? calibreId,
int? articleId,
int? id,
int? proxyCalibreId,
int? proxyArticleId,
bool? status,
double? minimumUnitPerBasket,
double? articleWeight,
}) {
return ProxyArticle(
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,
);
}