copyWithWrapped method

Implementation

WebApiModulesBillingInvoiceCreditInvoiceReponse copyWithWrapped({
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
  Wrapped<String?>? creditId,
  Wrapped<WebApiModulesBillingInvoiceInvoice?>? credit,
}) {
  return WebApiModulesBillingInvoiceCreditInvoiceReponse(
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
    creditId: (creditId != null ? creditId.value : this.creditId),
    credit: (credit != null ? credit.value : this.credit),
  );
}