copyWithWrapped method

WebApiModulesHomeControlsInvoiceCreationBatchInvoiceCreationBatch copyWithWrapped({
  1. Wrapped<String?>? invoiceCreationBatchId,
  2. Wrapped<int?>? batchNumber,
  3. Wrapped<String?>? batchNumberAsString,
  4. Wrapped<String?>? batchDate,
  5. Wrapped<String?>? batchType,
  6. Wrapped<int?>? invoiceCount,
  7. Wrapped<String?>? auditNote,
  8. Wrapped<String?>? recordTitle,
  9. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  10. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  11. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  12. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsInvoiceCreationBatchInvoiceCreationBatch
    copyWithWrapped(
        {Wrapped<String?>? invoiceCreationBatchId,
        Wrapped<int?>? batchNumber,
        Wrapped<String?>? batchNumberAsString,
        Wrapped<String?>? batchDate,
        Wrapped<String?>? batchType,
        Wrapped<int?>? invoiceCount,
        Wrapped<String?>? auditNote,
        Wrapped<String?>? recordTitle,
        Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
            fields,
        Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
        Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
            defaultFieldAttributes,
        Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsInvoiceCreationBatchInvoiceCreationBatch(
      invoiceCreationBatchId: (invoiceCreationBatchId != null
          ? invoiceCreationBatchId.value
          : this.invoiceCreationBatchId),
      batchNumber:
          (batchNumber != null ? batchNumber.value : this.batchNumber),
      batchNumberAsString: (batchNumberAsString != null
          ? batchNumberAsString.value
          : this.batchNumberAsString),
      batchDate: (batchDate != null ? batchDate.value : this.batchDate),
      batchType: (batchType != null ? batchType.value : this.batchType),
      invoiceCount:
          (invoiceCount != null ? invoiceCount.value : this.invoiceCount),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}