copyWith method
WebApiModulesSettingsWorkWeekSettingsWorkWeekWorkWeek
copyWith({
- int? workWeekId,
- String? workWeek,
- String? fromDate,
- String? toDate,
- bool? inactive,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsWorkWeekSettingsWorkWeekWorkWeek copyWith(
{int? workWeekId,
String? workWeek,
String? fromDate,
String? toDate,
bool? inactive,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsWorkWeekSettingsWorkWeekWorkWeek(
workWeekId: workWeekId ?? this.workWeekId,
workWeek: workWeek ?? this.workWeek,
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
inactive: inactive ?? this.inactive,
dateStamp: dateStamp ?? this.dateStamp,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}