copyWith method

WebApiModulesAdministratorEmailHistoryEmailHistory copyWith({
  1. String? emailHistoryId,
  2. String? reportId,
  3. String? fromUserId,
  4. String? fromWebUserId,
  5. String? fromUser,
  6. String? emailDate,
  7. String? status,
  8. String? emailText,
  9. String? emailTo,
  10. String? emailSubject,
  11. String? emailCC,
  12. String? title,
  13. String? relatedToId,
  14. String? dateStamp,
  15. String? auditNote,
  16. String? recordTitle,
  17. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  18. List<FwStandardDataFwCustomValue>? custom,
  19. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  20. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesAdministratorEmailHistoryEmailHistory copyWith(
    {String? emailHistoryId,
    String? reportId,
    String? fromUserId,
    String? fromWebUserId,
    String? fromUser,
    String? emailDate,
    String? status,
    String? emailText,
    String? emailTo,
    String? emailSubject,
    String? emailCC,
    String? title,
    String? relatedToId,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesAdministratorEmailHistoryEmailHistory(
      emailHistoryId: emailHistoryId ?? this.emailHistoryId,
      reportId: reportId ?? this.reportId,
      fromUserId: fromUserId ?? this.fromUserId,
      fromWebUserId: fromWebUserId ?? this.fromWebUserId,
      fromUser: fromUser ?? this.fromUser,
      emailDate: emailDate ?? this.emailDate,
      status: status ?? this.status,
      emailText: emailText ?? this.emailText,
      emailTo: emailTo ?? this.emailTo,
      emailSubject: emailSubject ?? this.emailSubject,
      emailCC: emailCC ?? this.emailCC,
      title: title ?? this.title,
      relatedToId: relatedToId ?? this.relatedToId,
      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);
}