copyWith method
Implementation
TimeTrackingDetails copyWith(
{String? originalEstimate,
int? originalEstimateSeconds,
String? remainingEstimate,
int? remainingEstimateSeconds,
String? timeSpent,
int? timeSpentSeconds}) {
return TimeTrackingDetails(
originalEstimate: originalEstimate ?? this.originalEstimate,
originalEstimateSeconds:
originalEstimateSeconds ?? this.originalEstimateSeconds,
remainingEstimate: remainingEstimate ?? this.remainingEstimate,
remainingEstimateSeconds:
remainingEstimateSeconds ?? this.remainingEstimateSeconds,
timeSpent: timeSpent ?? this.timeSpent,
timeSpentSeconds: timeSpentSeconds ?? this.timeSpentSeconds,
);
}