copyWith method
Implementation
ArticleBasketOnTicket copyWith({
int? calibreId,
int? id,
String? designation,
num? discountAmountSalesOnly,
num? markupAmountSalesOnly,
List<ProxyArticle>? proxies,
}) {
return ArticleBasketOnTicket(
calibreId: calibreId ?? this.calibreId,
id: id ?? this.id,
designation: designation ?? this.designation,
discountAmountSalesOnly:
discountAmountSalesOnly ?? this.discountAmountSalesOnly,
markupAmountSalesOnly:
markupAmountSalesOnly ?? this.markupAmountSalesOnly,
proxies: proxies ?? this.proxies,
);
}