copyWith method

WebApiModulesHomeControlsContactNoteContactNote copyWith({
  1. String? contactNoteId,
  2. String? contactId,
  3. String? companyId,
  4. String? companyContactId,
  5. String? noteDate,
  6. String? notesById,
  7. String? notesBy,
  8. String? description,
  9. String? notes,
  10. String? dateStamp,
  11. String? auditNote,
  12. String? recordTitle,
  13. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  14. List<FwStandardDataFwCustomValue>? custom,
  15. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  16. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsContactNoteContactNote copyWith(
    {String? contactNoteId,
    String? contactId,
    String? companyId,
    String? companyContactId,
    String? noteDate,
    String? notesById,
    String? notesBy,
    String? description,
    String? notes,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsContactNoteContactNote(
      contactNoteId: contactNoteId ?? this.contactNoteId,
      contactId: contactId ?? this.contactId,
      companyId: companyId ?? this.companyId,
      companyContactId: companyContactId ?? this.companyContactId,
      noteDate: noteDate ?? this.noteDate,
      notesById: notesById ?? this.notesById,
      notesBy: notesBy ?? this.notesBy,
      description: description ?? this.description,
      notes: notes ?? this.notes,
      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);
}