copyWithWrapped method

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

Implementation

WebApiModulesAdministratorEmailHistoryEmailHistory copyWithWrapped(
    {Wrapped<String?>? emailHistoryId,
    Wrapped<String?>? reportId,
    Wrapped<String?>? fromUserId,
    Wrapped<String?>? fromWebUserId,
    Wrapped<String?>? fromUser,
    Wrapped<String?>? emailDate,
    Wrapped<String?>? status,
    Wrapped<String?>? emailText,
    Wrapped<String?>? emailTo,
    Wrapped<String?>? emailSubject,
    Wrapped<String?>? emailCC,
    Wrapped<String?>? title,
    Wrapped<String?>? relatedToId,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesAdministratorEmailHistoryEmailHistory(
      emailHistoryId: (emailHistoryId != null
          ? emailHistoryId.value
          : this.emailHistoryId),
      reportId: (reportId != null ? reportId.value : this.reportId),
      fromUserId: (fromUserId != null ? fromUserId.value : this.fromUserId),
      fromWebUserId:
          (fromWebUserId != null ? fromWebUserId.value : this.fromWebUserId),
      fromUser: (fromUser != null ? fromUser.value : this.fromUser),
      emailDate: (emailDate != null ? emailDate.value : this.emailDate),
      status: (status != null ? status.value : this.status),
      emailText: (emailText != null ? emailText.value : this.emailText),
      emailTo: (emailTo != null ? emailTo.value : this.emailTo),
      emailSubject:
          (emailSubject != null ? emailSubject.value : this.emailSubject),
      emailCC: (emailCC != null ? emailCC.value : this.emailCC),
      title: (title != null ? title.value : this.title),
      relatedToId:
          (relatedToId != null ? relatedToId.value : this.relatedToId),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}