copyWithWrapped method

WebApiModulesHomeControlsInvoiceNoteInvoiceNote copyWithWrapped({
  1. Wrapped<String?>? invoiceNoteId,
  2. Wrapped<String?>? invoiceId,
  3. Wrapped<String?>? orderId,
  4. Wrapped<String?>? orderNumber,
  5. Wrapped<String?>? noteDate,
  6. Wrapped<String?>? description,
  7. Wrapped<String?>? notesById,
  8. Wrapped<String?>? notesBy,
  9. Wrapped<String?>? notes,
  10. Wrapped<bool?>? printOnInvoice,
  11. Wrapped<String?>? dateStamp,
  12. Wrapped<String?>? auditNote,
  13. Wrapped<String?>? recordTitle,
  14. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  15. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  16. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  17. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsInvoiceNoteInvoiceNote copyWithWrapped(
    {Wrapped<String?>? invoiceNoteId,
    Wrapped<String?>? invoiceId,
    Wrapped<String?>? orderId,
    Wrapped<String?>? orderNumber,
    Wrapped<String?>? noteDate,
    Wrapped<String?>? description,
    Wrapped<String?>? notesById,
    Wrapped<String?>? notesBy,
    Wrapped<String?>? notes,
    Wrapped<bool?>? printOnInvoice,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsInvoiceNoteInvoiceNote(
      invoiceNoteId:
          (invoiceNoteId != null ? invoiceNoteId.value : this.invoiceNoteId),
      invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
      orderId: (orderId != null ? orderId.value : this.orderId),
      orderNumber:
          (orderNumber != null ? orderNumber.value : this.orderNumber),
      noteDate: (noteDate != null ? noteDate.value : this.noteDate),
      description:
          (description != null ? description.value : this.description),
      notesById: (notesById != null ? notesById.value : this.notesById),
      notesBy: (notesBy != null ? notesBy.value : this.notesBy),
      notes: (notes != null ? notes.value : this.notes),
      printOnInvoice: (printOnInvoice != null
          ? printOnInvoice.value
          : this.printOnInvoice),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      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));
}