findAll<T extends LogSpan> method
Finds all descendants (including self) of type T.
Implementation
Iterable<T> findAll<T extends LogSpan>() sync* {
if (this is T) yield this as T;
for (final child in allChildren) {
yield* child.findAll<T>();
}
}