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. dynamic urlIdentifier,
  18. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  19. List<FwStandardDataFwCustomValue>? custom,
  20. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  21. FwStandardBusinessLogicFwBusinessLogic? original,
  22. List<FwStandardDataFwTranslatedValue>? translation,
  23. bool? hasImport,
  24. String? createdByUserId,
  25. String? createdByUserName,
  26. String? createdDateTime,
  27. String? modifiedByUserId,
  28. String? modifiedByUserName,
  29. String? modifiedDateTime,
})

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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}