cells property

Map<Symbol, Cell> get cells

The cells registered in this harness, in insertion order.

Returns an unmodifiable view of the internal registry. Useful for assertions about what was registered without going through cell / valueCell's type checks.

The same map is passed to pump as the CellScope registrations, so mutating it in place would desynchronize the harness from already- pumped trees — hence the unmodifiable view.

Implementation

Map<Symbol, Cell> get cells => Map.unmodifiable(_cells);