copyWith method

WebApiModulesSettingsWorkWeekSettingsWorkWeekWorkWeek copyWith({
  1. int? workWeekId,
  2. String? workWeek,
  3. String? fromDate,
  4. String? toDate,
  5. bool? inactive,
  6. String? dateStamp,
  7. String? auditNote,
  8. String? recordTitle,
  9. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  10. List<FwStandardDataFwCustomValue>? custom,
  11. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  12. 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);
}