copyWith method
ItemCartWeebi<ArticleRawAbstract>
copyWith({
- ArticleCreator<
A> ? articleCreator, - double? quantity,
- List<
ProxyArticleWorth> ? proxiesWorth, - double? inventoryAbsoluteQt,
Implementation
ItemCartWeebi copyWith(
{ArticleCreator<A>? articleCreator,
double? quantity,
List<ProxyArticleWorth>? proxiesWorth,
double? inventoryAbsoluteQt}) {
return ItemCartWeebi<A>(
articleCreator ?? this.articleCreator,
quantity ?? this.quantity,
proxiesWorth: proxiesWorth ?? this.proxiesWorth,
inventoryAbsoluteQt: inventoryAbsoluteQt ?? this.inventoryAbsoluteQt,
);
}