clear method

void clear()

Clears a cell as if it was never prefilled Used in grid generation to clear clues in forming patterns

Implementation

void clear() {
  this.isPristine = true;
  this._value = 0;
  this._isPrefill = false;
  this._isValid = false;
  this._isValid = false;
}