cellAt method

Cell? cellAt(
  1. int x,
  2. int y
)

Returns the cell at (x, y), or null if out of bounds.

Implementation

Cell? cellAt(int x, int y) =>
    (y < 0 || y >= lines.length) ? null : lines[y].at(x);