Line.fromCells constructor
Creates a line from pre-built cells without applying set() semantics.
This is primarily useful for porting upstream tests that include explicit
wide-cell placeholder cells.
Creates a line from cells without applying wide-cell semantics.
Implementation
factory Line.fromCells(List<Cell> cells) {
return Line._(cells.map((c) => c.clone()).toList(growable: false));
}