copyWith method

ClassroomsCompanion copyWith({
  1. Value<int>? id,
  2. Value<DateTime?>? fetchedAt,
  3. Value<String>? code,
  4. Value<String>? nameZh,
})

Implementation

ClassroomsCompanion copyWith({
  Value<int>? id,
  Value<DateTime?>? fetchedAt,
  Value<String>? code,
  Value<String>? nameZh,
}) {
  return ClassroomsCompanion(
    id: id ?? this.id,
    fetchedAt: fetchedAt ?? this.fetchedAt,
    code: code ?? this.code,
    nameZh: nameZh ?? this.nameZh,
  );
}