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