copyWith method
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,
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);
}