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

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