copyWithWrapped method

WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportResponse copyWithWrapped({
  1. Wrapped<String?>? batchId,
  2. Wrapped<String?>? batchNumber,
  3. Wrapped<String?>? downloadUrl,
  4. Wrapped<bool?>? success,
  5. Wrapped<String?>? message,
})

Implementation

WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportResponse
    copyWithWrapped(
        {Wrapped<String?>? batchId,
        Wrapped<String?>? batchNumber,
        Wrapped<String?>? downloadUrl,
        Wrapped<bool?>? success,
        Wrapped<String?>? message}) {
  return WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportResponse(
      batchId: (batchId != null ? batchId.value : this.batchId),
      batchNumber:
          (batchNumber != null ? batchNumber.value : this.batchNumber),
      downloadUrl:
          (downloadUrl != null ? downloadUrl.value : this.downloadUrl),
      success: (success != null ? success.value : this.success),
      message: (message != null ? message.value : this.message));
}