column property

int? get column

Return the column as a zero based int or null

Implementation

int? get column {
  if (letters == null) return null;
  int column = 0;
  for (final unit in letters!.codeUnits) {
    column = column * 26 + unit - 'A'.codeUnitAt(0) + 1;
  }
  return column - 1;
}