copyWith method

SyllabusSectionsCompanion copyWith({
  1. Value<int>? id,
  2. Value<int>? syllabus,
  3. Value<String>? title,
  4. Value<String?>? content,
  5. Value<int>? position,
})

Implementation

SyllabusSectionsCompanion copyWith({
  Value<int>? id,
  Value<int>? syllabus,
  Value<String>? title,
  Value<String?>? content,
  Value<int>? position,
}) {
  return SyllabusSectionsCompanion(
    id: id ?? this.id,
    syllabus: syllabus ?? this.syllabus,
    title: title ?? this.title,
    content: content ?? this.content,
    position: position ?? this.position,
  );
}