copyWithWrapped method
Implementation
ShopifySharpCurrencyExchangeAdjustment copyWithWrapped({
Wrapped<double?>? adjustment,
Wrapped<double?>? originalAmount,
Wrapped<double?>? finalAmount,
Wrapped<String?>? currency,
Wrapped<int?>? id,
Wrapped<String?>? adminGraphqlApiId,
}) {
return ShopifySharpCurrencyExchangeAdjustment(
adjustment: (adjustment != null ? adjustment.value : this.adjustment),
originalAmount: (originalAmount != null
? originalAmount.value
: this.originalAmount),
finalAmount: (finalAmount != null ? finalAmount.value : this.finalAmount),
currency: (currency != null ? currency.value : this.currency),
id: (id != null ? id.value : this.id),
adminGraphqlApiId: (adminGraphqlApiId != null
? adminGraphqlApiId.value
: this.adminGraphqlApiId),
);
}