copyWith method

WebApiModulesSettingsDocumentSettingsCoverLetterCoverLetter copyWith({
  1. String? coverLetterId,
  2. String? description,
  3. String? fileName,
  4. String? html,
  5. bool? inactive,
  6. String? dateStamp,
  7. String? auditNote,
  8. String? recordTitle,
  9. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  10. List<FwStandardDataFwCustomValue>? custom,
  11. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  12. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsDocumentSettingsCoverLetterCoverLetter copyWith(
    {String? coverLetterId,
    String? description,
    String? fileName,
    String? html,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsDocumentSettingsCoverLetterCoverLetter(
      coverLetterId: coverLetterId ?? this.coverLetterId,
      description: description ?? this.description,
      fileName: fileName ?? this.fileName,
      html: html ?? this.html,
      inactive: inactive ?? this.inactive,
      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);
}