copyWithWrapped method
Implementation
WebApiModulesAgentOrderQuikSaleResponse copyWithWrapped(
{Wrapped<int?>? status,
Wrapped<bool?>? success,
Wrapped<String?>? msg,
Wrapped<String?>? contractId,
Wrapped<String?>? invoiceId,
Wrapped<String?>? chgBatchId,
Wrapped<WebApiModulesBillingInvoiceInvoice?>? invoice,
Wrapped<WebApiModulesWarehouseContractContract?>? contract}) {
return WebApiModulesAgentOrderQuikSaleResponse(
status: (status != null ? status.value : this.status),
success: (success != null ? success.value : this.success),
msg: (msg != null ? msg.value : this.msg),
contractId: (contractId != null ? contractId.value : this.contractId),
invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
chgBatchId: (chgBatchId != null ? chgBatchId.value : this.chgBatchId),
invoice: (invoice != null ? invoice.value : this.invoice),
contract: (contract != null ? contract.value : this.contract));
}