copyWith method
CourseThemeSummaryByIdResponse
copyWith({
- int? id,
- String? name,
- PublicationState? state,
- String? publishDate,
- String? publishedAt,
- int? order,
- CourseCategory? category,
- int? categoryCover,
Implementation
CourseThemeSummaryByIdResponse copyWith({
int? id,
String? name,
enums.PublicationState? state,
String? publishDate,
String? publishedAt,
int? order,
enums.CourseCategory? category,
int? categoryCover,
}) {
return CourseThemeSummaryByIdResponse(
id: id ?? this.id,
name: name ?? this.name,
state: state ?? this.state,
publishDate: publishDate ?? this.publishDate,
publishedAt: publishedAt ?? this.publishedAt,
order: order ?? this.order,
category: category ?? this.category,
categoryCover: categoryCover ?? this.categoryCover,
);
}