copyWithWrapped method

WebApiModulesSettingsCalendarSettingsHolidayHoliday copyWithWrapped({
  1. Wrapped<String?>? holidayId,
  2. Wrapped<String?>? holiday,
  3. Wrapped<String?>? countryId,
  4. Wrapped<String?>? country,
  5. Wrapped<bool?>? custom,
  6. Wrapped<bool?>? observed,
  7. Wrapped<String?>? type,
  8. Wrapped<int?>? fixedMonth,
  9. Wrapped<int?>? fixedDay,
  10. Wrapped<int?>? fixedYear,
  11. Wrapped<int?>? dayOfWeek,
  12. Wrapped<int?>? weekOfMonth,
  13. Wrapped<int?>? adjustment,
  14. Wrapped<String?>? offsetHolidayId,
  15. Wrapped<String?>? offsetHoliday,
  16. Wrapped<bool?>? inactive,
  17. Wrapped<String?>? dateStamp,
  18. Wrapped<String?>? auditNote,
  19. Wrapped<String?>? recordTitle,
  20. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  21. Wrapped<List<FwStandardDataFwCustomValue>?>? $custom,
  22. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  23. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsCalendarSettingsHolidayHoliday copyWithWrapped(
    {Wrapped<String?>? holidayId,
    Wrapped<String?>? holiday,
    Wrapped<String?>? countryId,
    Wrapped<String?>? country,
    Wrapped<bool?>? custom,
    Wrapped<bool?>? observed,
    Wrapped<String?>? type,
    Wrapped<int?>? fixedMonth,
    Wrapped<int?>? fixedDay,
    Wrapped<int?>? fixedYear,
    Wrapped<int?>? dayOfWeek,
    Wrapped<int?>? weekOfMonth,
    Wrapped<int?>? adjustment,
    Wrapped<String?>? offsetHolidayId,
    Wrapped<String?>? offsetHoliday,
    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 WebApiModulesSettingsCalendarSettingsHolidayHoliday(
      holidayId: (holidayId != null ? holidayId.value : this.holidayId),
      holiday: (holiday != null ? holiday.value : this.holiday),
      countryId: (countryId != null ? countryId.value : this.countryId),
      country: (country != null ? country.value : this.country),
      custom: (custom != null ? custom.value : this.custom),
      observed: (observed != null ? observed.value : this.observed),
      type: (type != null ? type.value : this.type),
      fixedMonth: (fixedMonth != null ? fixedMonth.value : this.fixedMonth),
      fixedDay: (fixedDay != null ? fixedDay.value : this.fixedDay),
      fixedYear: (fixedYear != null ? fixedYear.value : this.fixedYear),
      dayOfWeek: (dayOfWeek != null ? dayOfWeek.value : this.dayOfWeek),
      weekOfMonth:
          (weekOfMonth != null ? weekOfMonth.value : this.weekOfMonth),
      adjustment: (adjustment != null ? adjustment.value : this.adjustment),
      offsetHolidayId: (offsetHolidayId != null
          ? offsetHolidayId.value
          : this.offsetHolidayId),
      offsetHoliday:
          (offsetHoliday != null ? offsetHoliday.value : this.offsetHoliday),
      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));
}