State constructor

const State(
  1. Move move,
  2. ColorMap<int> kings,
  3. Color turn,
  4. ColorMap<int> castling,
  5. int? ep_square,
  6. int half_moves,
  7. int move_number,
)

Implementation

const State(this.move, this.kings, this.turn, this.castling, this.ep_square,
    this.half_moves, this.move_number);