bits property

The list of bits including direct children and sub-tree's.

Implementation

Iterable<BuildBit> get bits sync* {
  for (final child in children) {
    if (child is BuildTree) {
      yield* child.bits;
    } else {
      yield child;
    }
  }
}