copyWith method

CoursesState copyWith({
  1. List<InstalledCourse>? installed,
})

Implementation

CoursesState copyWith({List<InstalledCourse>? installed}) =>
    CoursesState(installed: List.unmodifiable(installed ?? this.installed));