cell method

Future<Cell> cell({
  1. required int row,
  2. required int column,
})

Fetches cell.

Expands current sheet's size if requested range is out of sheet's bounds.

column - column index of a requested cell, columns start at index 1 (column A)

row - row index of a requested cell, rows start at index 1

Returns Future Cell.

Throws GSheetsException.

Implementation

Future<Cell> cell({
  required int row,
  required int column,
}) async {
  final value = await _ws.values.value(column: column, row: row);
  return Cell._(_ws, row, column, value, false);
}