xAxis property

int get xAxis

Implementation

int get xAxis {
  final i = file.codeUnitAt(0) - 97;
  return board.orientation == BoardColor.BLACK ? 7 - i : i;
}