copyWith method

DayTime copyWith({
  1. int? hours,
  2. int? minutes,
})

Implementation

DayTime copyWith({
  int? hours,
  int? minutes
}) {
  return DayTime(
    hours: hours ?? this.hours,
    minutes: minutes ?? this.minutes
  );
}