copyWithWrapped method

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

Implementation

ListStudentCoursesResponse copyWithWrapped({
  Wrapped<List<CourseSummaryItem>>? items,
  Wrapped<Paging>? paging,
}) {
  return ListStudentCoursesResponse(
    items: (items != null ? items.value : this.items),
    paging: (paging != null ? paging.value : this.paging),
  );
}