copyWith method

WeekTimeInterval copyWith({
  1. WeekTime? startTime,
  2. WeekTime? finishTime,
})

Implementation

WeekTimeInterval copyWith({
  WeekTime? startTime,
  WeekTime? finishTime
}) {
  return WeekTimeInterval(
    startTime: startTime ?? this.startTime,
    finishTime: finishTime ?? this.finishTime
  );
}