copyWith method

SchedulesCompanion copyWith({
  1. Value<int>? id,
  2. Value<int>? courseOffering,
  3. Value<DayOfWeek>? dayOfWeek,
  4. Value<Period>? period,
})

Implementation

SchedulesCompanion copyWith({
  Value<int>? id,
  Value<int>? courseOffering,
  Value<DayOfWeek>? dayOfWeek,
  Value<Period>? period,
}) {
  return SchedulesCompanion(
    id: id ?? this.id,
    courseOffering: courseOffering ?? this.courseOffering,
    dayOfWeek: dayOfWeek ?? this.dayOfWeek,
    period: period ?? this.period,
  );
}