copyWith method

MaterialsCompanion copyWith({
  1. Value<int>? id,
  2. Value<int>? courseOffering,
  3. Value<String?>? title,
  4. Value<String?>? href,
})

Implementation

MaterialsCompanion copyWith({
  Value<int>? id,
  Value<int>? courseOffering,
  Value<String?>? title,
  Value<String?>? href,
}) {
  return MaterialsCompanion(
    id: id ?? this.id,
    courseOffering: courseOffering ?? this.courseOffering,
    title: title ?? this.title,
    href: href ?? this.href,
  );
}