copyWithWrapped method

ShopifySharpRefundDuty copyWithWrapped({
  1. Wrapped<int?>? dutyId,
  2. Wrapped<ShopifySharpPriceSet?>? amountSet,
})

Implementation

ShopifySharpRefundDuty copyWithWrapped({
  Wrapped<int?>? dutyId,
  Wrapped<ShopifySharpPriceSet?>? amountSet,
}) {
  return ShopifySharpRefundDuty(
    dutyId: (dutyId != null ? dutyId.value : this.dutyId),
    amountSet: (amountSet != null ? amountSet.value : this.amountSet),
  );
}