clear method

void clear([
  1. Cell fill = Cell.empty
])

Implementation

void clear([Cell fill = Cell.empty]) {
  for (var i = 0; i < _cells.length; i++) {
    _cells[i] = fill;
  }
}