copyWithWrapped method

WebApiModulesAgentOrderQuoteNewVersionResponse copyWithWrapped({
  1. Wrapped<int?>? status,
  2. Wrapped<bool?>? success,
  3. Wrapped<String?>? msg,
  4. Wrapped<WebApiModulesAgentQuoteQuote?>? newVersion,
})

Implementation

WebApiModulesAgentOrderQuoteNewVersionResponse copyWithWrapped({
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
  Wrapped<WebApiModulesAgentQuoteQuote?>? newVersion,
}) {
  return WebApiModulesAgentOrderQuoteNewVersionResponse(
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
    newVersion: (newVersion != null ? newVersion.value : this.newVersion),
  );
}