copyWith method

WebApiModulesAgentOrderQuikSaleResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. String? contractId,
  5. String? invoiceId,
  6. String? chgBatchId,
  7. WebApiModulesBillingInvoiceInvoice? invoice,
  8. WebApiModulesWarehouseContractContract? contract,
})

Implementation

WebApiModulesAgentOrderQuikSaleResponse copyWith({
  int? status,
  bool? success,
  String? msg,
  String? contractId,
  String? invoiceId,
  String? chgBatchId,
  WebApiModulesBillingInvoiceInvoice? invoice,
  WebApiModulesWarehouseContractContract? contract,
}) {
  return WebApiModulesAgentOrderQuikSaleResponse(
    status: status ?? this.status,
    success: success ?? this.success,
    msg: msg ?? this.msg,
    contractId: contractId ?? this.contractId,
    invoiceId: invoiceId ?? this.invoiceId,
    chgBatchId: chgBatchId ?? this.chgBatchId,
    invoice: invoice ?? this.invoice,
    contract: contract ?? this.contract,
  );
}