copyWith method

WebApiModulesSettingsCalendarSettingsHolidayHoliday copyWith({
  1. String? holidayId,
  2. String? holiday,
  3. String? countryId,
  4. String? country,
  5. bool? custom,
  6. bool? observed,
  7. String? type,
  8. int? fixedMonth,
  9. int? fixedDay,
  10. int? fixedYear,
  11. int? dayOfWeek,
  12. int? weekOfMonth,
  13. int? adjustment,
  14. String? offsetHolidayId,
  15. String? offsetHoliday,
  16. bool? inactive,
  17. String? dateStamp,
  18. String? auditNote,
  19. String? recordTitle,
  20. dynamic urlIdentifier,
  21. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  22. List<FwStandardDataFwCustomValue>? $custom,
  23. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  24. FwStandardBusinessLogicFwBusinessLogic? original,
  25. List<FwStandardDataFwTranslatedValue>? translation,
  26. bool? hasImport,
  27. bool? hasDocuments,
  28. String? createdByUserId,
  29. String? createdByUserName,
  30. String? createdDateTime,
  31. String? modifiedByUserId,
  32. String? modifiedByUserName,
  33. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsCalendarSettingsHolidayHoliday copyWith({
  String? holidayId,
  String? holiday,
  String? countryId,
  String? country,
  bool? custom,
  bool? observed,
  String? type,
  int? fixedMonth,
  int? fixedDay,
  int? fixedYear,
  int? dayOfWeek,
  int? weekOfMonth,
  int? adjustment,
  String? offsetHolidayId,
  String? offsetHoliday,
  bool? inactive,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? $custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesSettingsCalendarSettingsHolidayHoliday(
    holidayId: holidayId ?? this.holidayId,
    holiday: holiday ?? this.holiday,
    countryId: countryId ?? this.countryId,
    country: country ?? this.country,
    custom: custom ?? this.custom,
    observed: observed ?? this.observed,
    type: type ?? this.type,
    fixedMonth: fixedMonth ?? this.fixedMonth,
    fixedDay: fixedDay ?? this.fixedDay,
    fixedYear: fixedYear ?? this.fixedYear,
    dayOfWeek: dayOfWeek ?? this.dayOfWeek,
    weekOfMonth: weekOfMonth ?? this.weekOfMonth,
    adjustment: adjustment ?? this.adjustment,
    offsetHolidayId: offsetHolidayId ?? this.offsetHolidayId,
    offsetHoliday: offsetHoliday ?? this.offsetHoliday,
    inactive: inactive ?? this.inactive,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    $custom: $custom ?? this.$custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}