isStalemate property

bool get isStalemate

Tests for stalemate.

Implementation

bool get isStalemate =>
    !isVariantEnd && checkers.isEmpty && !hasSomeLegalMoves;