copyWith method

ListStudentCoursesResponse copyWith({
  1. List<CourseSummaryItem>? items,
  2. Paging? paging,
})

Implementation

ListStudentCoursesResponse copyWith({
  List<CourseSummaryItem>? items,
  Paging? paging,
}) {
  return ListStudentCoursesResponse(
    items: items ?? this.items,
    paging: paging ?? this.paging,
  );
}