edaxGetBoard method

Board edaxGetBoard()

Get the current board.

Implementation

@useResult
Board edaxGetBoard() {
  return using((Arena arena) {
    final dst = arena<bindings.Board>();
    _bindings.edax_get_board(dst);
    final board = Board.fromCStruct(dst.ref);
    return board;
  });
}