matchSource method
Implementation
bool matchSource(Fractal f) {
if (source case EventsCtrl ctrl) {
//if (!includeSubTypes && f.type != ctrl.name) return false;
if (!(f.type == ctrl.name || ctrl.top.any((c) => c.name == f.type))) {
return false;
}
}
if (source case CatalogFractal c) {
return c.matchSource(f);
}
return true;
}