getSub<S extends EventFractal> method
Implementation
S? getSub<S extends EventFractal>(String name) {
if (sub[name] case S f) return f;
HierarchyF? f = this;
while (f is ExtendableF) {
f = (f as ExtendableF).extend;
if (f?.sub[name] case S h) return h;
}
return null;
}