copyWith method
Implementation
SyllabusSection copyWith({
int? id,
int? syllabus,
String? title,
Value<String?> content = const Value.absent(),
int? position,
}) => SyllabusSection(
id: id ?? this.id,
syllabus: syllabus ?? this.syllabus,
title: title ?? this.title,
content: content.present ? content.value : this.content,
position: position ?? this.position,
);