copyWith method

TimeTrackingConfiguration copyWith({
  1. TimeTrackingConfigurationDefaultUnit? defaultUnit,
  2. TimeTrackingConfigurationTimeFormat? timeFormat,
  3. num? workingDaysPerWeek,
  4. num? workingHoursPerDay,
})

Implementation

TimeTrackingConfiguration copyWith(
    {TimeTrackingConfigurationDefaultUnit? defaultUnit,
    TimeTrackingConfigurationTimeFormat? timeFormat,
    num? workingDaysPerWeek,
    num? workingHoursPerDay}) {
  return TimeTrackingConfiguration(
    defaultUnit: defaultUnit ?? this.defaultUnit,
    timeFormat: timeFormat ?? this.timeFormat,
    workingDaysPerWeek: workingDaysPerWeek ?? this.workingDaysPerWeek,
    workingHoursPerDay: workingHoursPerDay ?? this.workingHoursPerDay,
  );
}