CourseOfferingsCompanion.insert constructor
CourseOfferingsCompanion.insert({ - Value<int> id = const Value.absent(),
- Value<DateTime?> fetchedAt = const Value.absent(),
- required int course,
- required int semester,
- required String number,
- Value<int?> phase = const Value.absent(),
- Value<CourseType?> courseType = const Value.absent(),
- Value<String?> status = const Value.absent(),
- Value<String?> language = const Value.absent(),
- Value<String?> syllabusId = const Value.absent(),
- Value<DateTime?> syllabusUpdatedAt = const Value.absent(),
- Value<int?> enrolled = const Value.absent(),
- Value<int?> withdrawn = const Value.absent(),
- Value<String?> objective = const Value.absent(),
- Value<String?> weeklyPlan = const Value.absent(),
- Value<String?> evaluation = const Value.absent(),
- Value<String?> textbooks = const Value.absent(),
})
Implementation
CourseOfferingsCompanion.insert({
this.id = const Value.absent(),
this.fetchedAt = const Value.absent(),
required int course,
required int semester,
required String number,
this.phase = const Value.absent(),
this.courseType = const Value.absent(),
this.status = const Value.absent(),
this.language = const Value.absent(),
this.remarks = const Value.absent(),
this.syllabusId = const Value.absent(),
this.syllabusUpdatedAt = const Value.absent(),
this.enrolled = const Value.absent(),
this.withdrawn = const Value.absent(),
this.objective = const Value.absent(),
this.weeklyPlan = const Value.absent(),
this.evaluation = const Value.absent(),
this.textbooks = const Value.absent(),
this.syllabusRemarks = const Value.absent(),
}) : course = Value(course),
semester = Value(semester),
number = Value(number);