onAll<C extends Comp<T> > method
Invokes callback with every top-level component matching type C.
Implementation
E onAll<C extends Comp<T>>(void Function(List<C> components) callback) {
final found = getAll<C>();
if (found.isNotEmpty) callback(found);
return self;
}