solve method
Returns the Solution for the Cube using the solver
algorithm
or null
if the timeout
is exceeded or there is no Solution.
Returns Solution.empty if the Cube is already solved.
Implementation
Solution? solve({
Solver solver = kociemba,
int maxDepth = Solver.defaultMaxDepth,
Duration timeout = Solver.defaultTimeout,
}) {
return solver.solve(this, maxDepth: maxDepth, timeout: timeout);
}