allDescendants property

Iterable<LogSpan> get allDescendants

Returns all descendants (including self) in pre-order.

Implementation

Iterable<LogSpan> get allDescendants sync* {
  yield this;
  for (final child in allChildren) {
    yield* child.allDescendants;
  }
}