packed property

Logic packed
latefinal

Packs all elements into one flattened bus.

Implementation

late final Logic packed = elements
    .map((e) {
      if (e is LogicStructure) {
        return e.packed;
      } else {
        return e;
      }
    })
    .toList(growable: false)
    .rswizzle();