toCompanion method
- bool nullToAbsent
Implementation
SchedulesCompanion toCompanion(bool nullToAbsent) {
return SchedulesCompanion(
id: Value(id),
courseOffering: Value(courseOffering),
dayOfWeek: Value(dayOfWeek),
period: Value(period),
classroom: classroom == null && nullToAbsent
? const Value.absent()
: Value(classroom),
);
}