childIds property

Iterable<String> get childIds

Every child id: slots, then the ordered children, then (for a variance) each variant's children.

Implementation

Iterable<String> get childIds sync* {
  yield* slots.values;
  yield* children;
  if (type == VarianceProps.spec.type) {
    for (final v in props.get(VarianceProps.variants)) {
      for (final c in readStrings(v['children'])) {
        if (!children.contains(c)) yield c;
      }
    }
  }
}