copyWith method
- Map<
String, CourseProgress> ? byCourse, - int? serial,
Implementation
CourseProgressState copyWith({
Map<String, CourseProgress>? byCourse,
int? serial,
}) => CourseProgressState(
byCourse: Map.unmodifiable(byCourse ?? this.byCourse),
serial: serial ?? this.serial,
);