copyWith method

ScoresCompanion copyWith({
  1. Value<int>? id,
  2. Value<int>? user,
  3. Value<int>? semester,
  4. Value<int>? course,
  5. Value<int?>? courseOffering,
  6. Value<int?>? score,
  7. Value<ScoreStatus?>? status,
})

Implementation

ScoresCompanion copyWith({
  Value<int>? id,
  Value<int>? user,
  Value<int>? semester,
  Value<int>? course,
  Value<int?>? courseOffering,
  Value<int?>? score,
  Value<ScoreStatus?>? status,
}) {
  return ScoresCompanion(
    id: id ?? this.id,
    user: user ?? this.user,
    semester: semester ?? this.semester,
    course: course ?? this.course,
    courseOffering: courseOffering ?? this.courseOffering,
    score: score ?? this.score,
    status: status ?? this.status,
  );
}