void keepSections(Set<String> names) { sections = sections.where((s) => names.contains(s.name)).toList(); }