copyWith method
Implementation
ArticleRetailOnTicket copyWith({
int? calibreId,
int? id,
String? designation,
num? price,
num? cost,
double? unitsInOnePiece,
bool? status,
}) {
return ArticleRetailOnTicket(
kind: ArticleKind.retail,
calibreId: calibreId ?? this.calibreId,
id: id ?? this.id,
designation: designation ?? this.designation,
price: price ?? this.price,
cost: cost ?? this.cost,
unitsInOnePiece: unitsInOnePiece ?? this.unitsInOnePiece,
status: status ?? this.status,
);
}