copyWithWrapped method

WebApiModulesAgentOrderKissFlowQuoteOrderSubmissionRequest copyWithWrapped({
  1. Wrapped<String?>? quoteOrderId,
  2. Wrapped<String?>? goToUrl,
})

Implementation

WebApiModulesAgentOrderKissFlowQuoteOrderSubmissionRequest copyWithWrapped({
  Wrapped<String?>? quoteOrderId,
  Wrapped<String?>? goToUrl,
}) {
  return WebApiModulesAgentOrderKissFlowQuoteOrderSubmissionRequest(
    quoteOrderId: (quoteOrderId != null
        ? quoteOrderId.value
        : this.quoteOrderId),
    goToUrl: (goToUrl != null ? goToUrl.value : this.goToUrl),
  );
}