findByDifficulty

Finds all SudokuSchema instances with the specified difficulty.

Filters the schemas in the current SudokuSchemas collection by the given difficulty level. Returns a new SudokuSchemas instance containing only the schemas that match the specified difficulty.

Return

A SudokuSchemas instance containing all SudokuSchema instances with the specified difficulty.

Parameters

difficulty

The difficulty level to filter by.