State constructor

const State(
  1. Move move,
  2. ColorMap<int> kings,
  3. Color turn,
  4. ColorMap<int> castling,
  5. int epSquare,
  6. int halfMoves,
  7. int moveNumber,
)

Implementation

const State(this.move, this.kings, this.turn, this.castling, this.epSquare,
    this.halfMoves, this.moveNumber);