copyWith method
TimeTrackingConfiguration
copyWith({
- TimeTrackingConfigurationDefaultUnit? defaultUnit,
- TimeTrackingConfigurationTimeFormat? timeFormat,
- num? workingDaysPerWeek,
- 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,
);
}