copyWithWrapped method

WebApiModulesPluginsKissFlowOrderResponse copyWithWrapped({
  1. Wrapped<int?>? status,
  2. Wrapped<bool?>? success,
  3. Wrapped<String?>? msg,
  4. Wrapped<WebApiModulesAgentOrderOrder?>? order,
  5. Wrapped<String?>? orderUrl,
  6. Wrapped<String?>? agentEmail,
  7. Wrapped<String?>? projectManagerEmail,
  8. Wrapped<String?>? outsideSalesRepresentativeEmail,
})

Implementation

WebApiModulesPluginsKissFlowOrderResponse copyWithWrapped({
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
  Wrapped<WebApiModulesAgentOrderOrder?>? order,
  Wrapped<String?>? orderUrl,
  Wrapped<String?>? agentEmail,
  Wrapped<String?>? projectManagerEmail,
  Wrapped<String?>? outsideSalesRepresentativeEmail,
}) {
  return WebApiModulesPluginsKissFlowOrderResponse(
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
    order: (order != null ? order.value : this.order),
    orderUrl: (orderUrl != null ? orderUrl.value : this.orderUrl),
    agentEmail: (agentEmail != null ? agentEmail.value : this.agentEmail),
    projectManagerEmail: (projectManagerEmail != null
        ? projectManagerEmail.value
        : this.projectManagerEmail),
    outsideSalesRepresentativeEmail: (outsideSalesRepresentativeEmail != null
        ? outsideSalesRepresentativeEmail.value
        : this.outsideSalesRepresentativeEmail),
  );
}