copyWith method

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

Implementation

WebApiModulesHomeControlsInvoiceNoteInvoiceNote copyWith(
    {String? invoiceNoteId,
    String? invoiceId,
    String? orderId,
    String? orderNumber,
    String? noteDate,
    String? description,
    String? notesById,
    String? notesBy,
    String? notes,
    bool? printOnInvoice,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsInvoiceNoteInvoiceNote(
      invoiceNoteId: invoiceNoteId ?? this.invoiceNoteId,
      invoiceId: invoiceId ?? this.invoiceId,
      orderId: orderId ?? this.orderId,
      orderNumber: orderNumber ?? this.orderNumber,
      noteDate: noteDate ?? this.noteDate,
      description: description ?? this.description,
      notesById: notesById ?? this.notesById,
      notesBy: notesBy ?? this.notesBy,
      notes: notes ?? this.notes,
      printOnInvoice: printOnInvoice ?? this.printOnInvoice,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}