copyWithWrapped method
ShopifySharpPriceSet
copyWithWrapped({
- Wrapped<
ShopifySharpPrice?> ? shopMoney, - Wrapped<
ShopifySharpPrice?> ? presentmentMoney,
Implementation
ShopifySharpPriceSet copyWithWrapped({
Wrapped<ShopifySharpPrice?>? shopMoney,
Wrapped<ShopifySharpPrice?>? presentmentMoney,
}) {
return ShopifySharpPriceSet(
shopMoney: (shopMoney != null ? shopMoney.value : this.shopMoney),
presentmentMoney: (presentmentMoney != null
? presentmentMoney.value
: this.presentmentMoney),
);
}