dismissPrereqGap method
- String concept
Dismiss a single prerequisite-gap concept (user clicked the chip's dismiss button or acknowledged the suggestion).
Implementation
void dismissPrereqGap(String concept) {
final filtered = state.prereqGapConcepts
.where((c) => c.toLowerCase() != concept.toLowerCase())
.toList(growable: false);
state = state.copyWith(prereqGapConcepts: filtered);
}