copyWith method
Implementation
ShopifySharpDiscountApplication copyWith({
String? type,
String? code,
String? title,
String? description,
String? value,
String? valueType,
String? allocationMethod,
String? targetSelection,
String? targetType,
}) {
return ShopifySharpDiscountApplication(
type: type ?? this.type,
code: code ?? this.code,
title: title ?? this.title,
description: description ?? this.description,
value: value ?? this.value,
valueType: valueType ?? this.valueType,
allocationMethod: allocationMethod ?? this.allocationMethod,
targetSelection: targetSelection ?? this.targetSelection,
targetType: targetType ?? this.targetType,
);
}