getComponents<T> method

Iterable<T> getComponents<T>()

Returns every attached component of type T, in attach order.

Implementation

Iterable<T> getComponents<T>() => _components.whereType<T>();