descendants property

Iterable<Element> get descendants

Implementation

Iterable<Element> get descendants sync* {
  for (final child in children) {
    yield child;
    yield* child.descendants;
  }
}