copyWith method

SectionTime copyWith({
  1. int? weekDay,
  2. int? index,
})

Implementation

SectionTime copyWith({
  int? weekDay,
  int? index,
}) =>
    SectionTime(
      weekday: weekDay ?? weekday,
      index: index ?? this.index,
    );