copyWithWrapped method
ShopifySharpShippingLine
copyWithWrapped({
- Wrapped<
String?> ? carrierIdentifier, - Wrapped<
String?> ? code, - Wrapped<
bool?> ? isRemoved, - Wrapped<
String?> ? phone, - Wrapped<
double?> ? price, - Wrapped<
double?> ? discountedPrice, - Wrapped<
List< ? discountAllocations,ShopifySharpDiscountAllocation> ?> - Wrapped<
String?> ? source, - Wrapped<
String?> ? title, - Wrapped<
List< ? taxLines,ShopifySharpTaxLine> ?> - Wrapped<
ShopifySharpPriceSet?> ? priceSet, - Wrapped<
ShopifySharpPriceSet?> ? discountedPriceSet, - Wrapped<
int?> ? id, - Wrapped<
String?> ? adminGraphqlApiId,
Implementation
ShopifySharpShippingLine copyWithWrapped({
Wrapped<String?>? carrierIdentifier,
Wrapped<String?>? code,
Wrapped<bool?>? isRemoved,
Wrapped<String?>? phone,
Wrapped<double?>? price,
Wrapped<double?>? discountedPrice,
Wrapped<List<ShopifySharpDiscountAllocation>?>? discountAllocations,
Wrapped<String?>? source,
Wrapped<String?>? title,
Wrapped<List<ShopifySharpTaxLine>?>? taxLines,
Wrapped<ShopifySharpPriceSet?>? priceSet,
Wrapped<ShopifySharpPriceSet?>? discountedPriceSet,
Wrapped<int?>? id,
Wrapped<String?>? adminGraphqlApiId,
}) {
return ShopifySharpShippingLine(
carrierIdentifier: (carrierIdentifier != null
? carrierIdentifier.value
: this.carrierIdentifier),
code: (code != null ? code.value : this.code),
isRemoved: (isRemoved != null ? isRemoved.value : this.isRemoved),
phone: (phone != null ? phone.value : this.phone),
price: (price != null ? price.value : this.price),
discountedPrice: (discountedPrice != null
? discountedPrice.value
: this.discountedPrice),
discountAllocations: (discountAllocations != null
? discountAllocations.value
: this.discountAllocations),
source: (source != null ? source.value : this.source),
title: (title != null ? title.value : this.title),
taxLines: (taxLines != null ? taxLines.value : this.taxLines),
priceSet: (priceSet != null ? priceSet.value : this.priceSet),
discountedPriceSet: (discountedPriceSet != null
? discountedPriceSet.value
: this.discountedPriceSet),
id: (id != null ? id.value : this.id),
adminGraphqlApiId: (adminGraphqlApiId != null
? adminGraphqlApiId.value
: this.adminGraphqlApiId),
);
}