copyWithWrapped method
SimulateSwapResponse$Response
copyWithWrapped({
- Wrapped<
String> ? askAddress, - Wrapped<
String> ? askJettonWallet, - Wrapped<
String> ? askUnits, - Wrapped<
String> ? feeAddress, - Wrapped<
String> ? feePercent, - Wrapped<
String> ? feeUnits, - Wrapped<
String> ? minAskUnits, - Wrapped<
String> ? offerAddress, - Wrapped<
String> ? offerJettonWallet, - Wrapped<
String> ? offerUnits, - Wrapped<
String> ? poolAddress, - Wrapped<
String> ? priceImpact, - Wrapped<
String> ? routerAddress, - Wrapped<
String> ? slippageTolerance, - Wrapped<
String> ? swapRate,
Implementation
SimulateSwapResponse$Response copyWithWrapped(
{Wrapped<String>? askAddress,
Wrapped<String>? askJettonWallet,
Wrapped<String>? askUnits,
Wrapped<String>? feeAddress,
Wrapped<String>? feePercent,
Wrapped<String>? feeUnits,
Wrapped<String>? minAskUnits,
Wrapped<String>? offerAddress,
Wrapped<String>? offerJettonWallet,
Wrapped<String>? offerUnits,
Wrapped<String>? poolAddress,
Wrapped<String>? priceImpact,
Wrapped<String>? routerAddress,
Wrapped<String>? slippageTolerance,
Wrapped<String>? swapRate}) {
return SimulateSwapResponse$Response(
askAddress: (askAddress != null ? askAddress.value : this.askAddress),
askJettonWallet: (askJettonWallet != null
? askJettonWallet.value
: this.askJettonWallet),
askUnits: (askUnits != null ? askUnits.value : this.askUnits),
feeAddress: (feeAddress != null ? feeAddress.value : this.feeAddress),
feePercent: (feePercent != null ? feePercent.value : this.feePercent),
feeUnits: (feeUnits != null ? feeUnits.value : this.feeUnits),
minAskUnits:
(minAskUnits != null ? minAskUnits.value : this.minAskUnits),
offerAddress:
(offerAddress != null ? offerAddress.value : this.offerAddress),
offerJettonWallet: (offerJettonWallet != null
? offerJettonWallet.value
: this.offerJettonWallet),
offerUnits: (offerUnits != null ? offerUnits.value : this.offerUnits),
poolAddress:
(poolAddress != null ? poolAddress.value : this.poolAddress),
priceImpact:
(priceImpact != null ? priceImpact.value : this.priceImpact),
routerAddress:
(routerAddress != null ? routerAddress.value : this.routerAddress),
slippageTolerance: (slippageTolerance != null
? slippageTolerance.value
: this.slippageTolerance),
swapRate: (swapRate != null ? swapRate.value : this.swapRate));
}