Setup class
A not necessarily legal position.
- Annotations
-
- @immutable
Constructors
Properties
- board → Board
-
Piece positions on the board.
final
- epSquare → Square?
-
En passant target square.
final
- fen → String
-
no setter
- fullmoves → int
-
Current move number.
final
- halfmoves → int
-
Number of half-moves since the last capture or pawn move.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- pockets → Pockets?
-
Pockets in chess variants like Crazyhouse.
final
- remainingChecks → (int, int)?
-
Number of remainingChecks for white and black.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- turn → Side
-
Side to move.
final
- turnLetter → String
-
no setter
- unmovedRooks → SquareSet
-
Unmoved rooks positions used to determine castling rights.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override