Sudoku.withMoreHints constructor

Sudoku.withMoreHints(
  1. int hintOffset
)

Implementation

Sudoku.withMoreHints(int hintOffset) {
  _initialize();
  _scrambleBoards();
  if (hintOffset > -1) {
    _addClues(hintOffset);
  } else {
    throw Exception('hint offset must be non-negative integer');
  }
}