has<C extends Comp<T> > method
Whether a top-level component of type C exists.
Implementation
bool has<C extends Comp<T>>() => _components.any((s) => s is C);
Whether a top-level component of type C exists.
bool has<C extends Comp<T>>() => _components.any((s) => s is C);