setCell method

void setCell(
  1. int x,
  2. int y,
  3. Cell? cell
)

Sets the cell at (x, y) and updates dirty tracking.

Implementation

void setCell(int x, int y, Cell? cell) =>
    _setCell(x, y, cell, takeOwnership: false);