getCell method

Future getCell(
  1. int rowIdx,
  2. int colIdx
)

Returns information about the cell by row and column indexes.

Implementation

Future<dynamic> getCell(int rowIdx, int colIdx) async {
  WebViewController apiController = await controller.future;
  String cellDataObjectString = await apiController
      .runJavascriptReturningResult("webdatarocks.getCell($rowIdx,$colIdx)");
  dynamic cellDataObject = jsonDecode(cellDataObjectString);
  return cellDataObject;
}