getValueRowCol method

Object getValueRowCol(
  1. int iRow,
  2. int iColumn
)

Get the value from the specified cell.

Implementation

Object getValueRowCol(int iRow, int iColumn) {
  final Range range = getRangeByIndex(iRow, iColumn);
  if (range.formula != null) {
    return range.formula!;
  } else if (range.text != null) {
    return range.text!;
  } else if (range.dateTime != null) {
    return range.dateTime!;
  } else if (range.number != null) {
    return range.number!;
  }
  return '';
}