copyWithWrapped method

SimulateSwapResponse$Response copyWithWrapped({
  1. Wrapped<String>? askAddress,
  2. Wrapped<String>? askJettonWallet,
  3. Wrapped<String>? askUnits,
  4. Wrapped<String>? feeAddress,
  5. Wrapped<String>? feePercent,
  6. Wrapped<String>? feeUnits,
  7. Wrapped<String>? minAskUnits,
  8. Wrapped<String>? offerAddress,
  9. Wrapped<String>? offerJettonWallet,
  10. Wrapped<String>? offerUnits,
  11. Wrapped<String>? poolAddress,
  12. Wrapped<String>? priceImpact,
  13. Wrapped<String>? routerAddress,
  14. Wrapped<String>? slippageTolerance,
  15. 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));
}