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

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<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 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),
    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),
  );
}