copyWithWrapped method

WebApiModulesPluginsKissFlowQuoteResponse copyWithWrapped({
  1. Wrapped<int?>? status,
  2. Wrapped<bool?>? success,
  3. Wrapped<String?>? msg,
  4. Wrapped<WebApiModulesAgentQuoteQuote?>? quote,
  5. Wrapped<String?>? quoteUrl,
  6. Wrapped<String?>? agentEmail,
  7. Wrapped<String?>? projectManagerEmail,
  8. Wrapped<String?>? outsideSalesRepresentativeEmail,
})

Implementation

WebApiModulesPluginsKissFlowQuoteResponse copyWithWrapped({
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
  Wrapped<WebApiModulesAgentQuoteQuote?>? quote,
  Wrapped<String?>? quoteUrl,
  Wrapped<String?>? agentEmail,
  Wrapped<String?>? projectManagerEmail,
  Wrapped<String?>? outsideSalesRepresentativeEmail,
}) {
  return WebApiModulesPluginsKissFlowQuoteResponse(
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
    quote: (quote != null ? quote.value : this.quote),
    quoteUrl: (quoteUrl != null ? quoteUrl.value : this.quoteUrl),
    agentEmail: (agentEmail != null ? agentEmail.value : this.agentEmail),
    projectManagerEmail: (projectManagerEmail != null
        ? projectManagerEmail.value
        : this.projectManagerEmail),
    outsideSalesRepresentativeEmail: (outsideSalesRepresentativeEmail != null
        ? outsideSalesRepresentativeEmail.value
        : this.outsideSalesRepresentativeEmail),
  );
}