copyWithWrapped method

WebApiModulesSettingsEventSettingsEventCategoryEventCategory copyWithWrapped({
  1. Wrapped<String?>? eventCategoryId,
  2. Wrapped<String?>? eventCategory,
  3. Wrapped<String?>? eventCategoryCode,
  4. Wrapped<bool?>? inactive,
  5. Wrapped<String?>? dateStamp,
  6. Wrapped<String?>? auditNote,
  7. Wrapped<String?>? recordTitle,
  8. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  9. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  10. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  11. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsEventSettingsEventCategoryEventCategory copyWithWrapped(
    {Wrapped<String?>? eventCategoryId,
    Wrapped<String?>? eventCategory,
    Wrapped<String?>? eventCategoryCode,
    Wrapped<bool?>? inactive,
    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 WebApiModulesSettingsEventSettingsEventCategoryEventCategory(
      eventCategoryId: (eventCategoryId != null
          ? eventCategoryId.value
          : this.eventCategoryId),
      eventCategory:
          (eventCategory != null ? eventCategory.value : this.eventCategory),
      eventCategoryCode: (eventCategoryCode != null
          ? eventCategoryCode.value
          : this.eventCategoryCode),
      inactive: (inactive != null ? inactive.value : this.inactive),
      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));
}