copyWith method

SyllabusesCompanion copyWith({
  1. Value<int>? id,
  2. Value<int>? courseOffering,
  3. Value<int>? teacher,
  4. Value<DateTime?>? updatedAt,
  5. Value<String?>? objective,
  6. Value<String?>? weeklyPlan,
  7. Value<String?>? evaluation,
  8. Value<String?>? textbooks,
  9. Value<String?>? remarks,
})

Implementation

SyllabusesCompanion copyWith({
  Value<int>? id,
  Value<int>? courseOffering,
  Value<int>? teacher,
  Value<DateTime?>? updatedAt,
  Value<String?>? objective,
  Value<String?>? weeklyPlan,
  Value<String?>? evaluation,
  Value<String?>? textbooks,
  Value<String?>? remarks,
}) {
  return SyllabusesCompanion(
    id: id ?? this.id,
    courseOffering: courseOffering ?? this.courseOffering,
    teacher: teacher ?? this.teacher,
    updatedAt: updatedAt ?? this.updatedAt,
    objective: objective ?? this.objective,
    weeklyPlan: weeklyPlan ?? this.weeklyPlan,
    evaluation: evaluation ?? this.evaluation,
    textbooks: textbooks ?? this.textbooks,
    remarks: remarks ?? this.remarks,
  );
}