copyWithWrapped method

WebApiModulesHomeControlsPersonalEventPersonalEvent copyWithWrapped({
  1. Wrapped<String?>? personalEventId,
  2. Wrapped<String?>? contactId,
  3. Wrapped<String?>? person,
  4. Wrapped<String?>? contactEventId,
  5. Wrapped<String?>? contactEvent,
  6. Wrapped<String?>? eventDate,
  7. Wrapped<String?>? color,
  8. Wrapped<bool?>? recurring,
  9. Wrapped<String?>? dateStamp,
  10. Wrapped<String?>? auditNote,
  11. Wrapped<String?>? recordTitle,
  12. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  13. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  14. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  15. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsPersonalEventPersonalEvent copyWithWrapped(
    {Wrapped<String?>? personalEventId,
    Wrapped<String?>? contactId,
    Wrapped<String?>? person,
    Wrapped<String?>? contactEventId,
    Wrapped<String?>? contactEvent,
    Wrapped<String?>? eventDate,
    Wrapped<String?>? color,
    Wrapped<bool?>? recurring,
    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 WebApiModulesHomeControlsPersonalEventPersonalEvent(
      personalEventId: (personalEventId != null
          ? personalEventId.value
          : this.personalEventId),
      contactId: (contactId != null ? contactId.value : this.contactId),
      person: (person != null ? person.value : this.person),
      contactEventId: (contactEventId != null
          ? contactEventId.value
          : this.contactEventId),
      contactEvent:
          (contactEvent != null ? contactEvent.value : this.contactEvent),
      eventDate: (eventDate != null ? eventDate.value : this.eventDate),
      color: (color != null ? color.value : this.color),
      recurring: (recurring != null ? recurring.value : this.recurring),
      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));
}