copyWith method

WeekTime copyWith({
  1. WeekDay? weekDay,
  2. DayTime? time,
})

Implementation

WeekTime copyWith({
  WeekDay? weekDay,
  DayTime? time
}) {
  return WeekTime(
    weekDay: weekDay ?? this.weekDay,
    time: time ?? this.time
  );
}