toSan method
Returns the SAN of this Move from the current Position.
Throws a PlayException if the move is not legal.
Implementation
@Deprecated('Use makeSan instead')
String toSan(Move move) {
if (isLegal(move)) {
return makeSanUnchecked(move).$2;
} else {
throw PlayException('Invalid move $move on position $fen');
}
}