indexByString static method

CellIndex indexByString(
  1. String cellIndex
)
CellIndex.indexByColumnRow('A1'); // columnIndex: 0, rowIndex: 0
CellIndex.indexByColumnRow('A2'); // columnIndex: 0, rowIndex: 1

Implementation

static CellIndex indexByString(String cellIndex) {
  List<int> li = _cellCoordsFromCellId(cellIndex);
  return CellIndex._(row: li[0], col: li[1]);
}