copyWith method

SimulateSwapResponse$Response copyWith({
  1. String? askAddress,
  2. String? askJettonWallet,
  3. String? askUnits,
  4. String? feeAddress,
  5. String? feePercent,
  6. String? feeUnits,
  7. String? minAskUnits,
  8. String? offerAddress,
  9. String? offerJettonWallet,
  10. String? offerUnits,
  11. String? poolAddress,
  12. String? priceImpact,
  13. String? routerAddress,
  14. String? slippageTolerance,
  15. String? swapRate,
})

Implementation

SimulateSwapResponse$Response copyWith(
    {String? askAddress,
    String? askJettonWallet,
    String? askUnits,
    String? feeAddress,
    String? feePercent,
    String? feeUnits,
    String? minAskUnits,
    String? offerAddress,
    String? offerJettonWallet,
    String? offerUnits,
    String? poolAddress,
    String? priceImpact,
    String? routerAddress,
    String? slippageTolerance,
    String? swapRate}) {
  return SimulateSwapResponse$Response(
      askAddress: askAddress ?? this.askAddress,
      askJettonWallet: askJettonWallet ?? this.askJettonWallet,
      askUnits: askUnits ?? this.askUnits,
      feeAddress: feeAddress ?? this.feeAddress,
      feePercent: feePercent ?? this.feePercent,
      feeUnits: feeUnits ?? this.feeUnits,
      minAskUnits: minAskUnits ?? this.minAskUnits,
      offerAddress: offerAddress ?? this.offerAddress,
      offerJettonWallet: offerJettonWallet ?? this.offerJettonWallet,
      offerUnits: offerUnits ?? this.offerUnits,
      poolAddress: poolAddress ?? this.poolAddress,
      priceImpact: priceImpact ?? this.priceImpact,
      routerAddress: routerAddress ?? this.routerAddress,
      slippageTolerance: slippageTolerance ?? this.slippageTolerance,
      swapRate: swapRate ?? this.swapRate);
}