getRow method

Row? getRow(
  1. int rowIndex
)

Get a row from rows collection based on row index.

Implementation

Row? getRow(int rowIndex) {
  for (final Row? row in innerList) {
    if (row != null) {
      if (row.index == rowIndex) {
        return row;
      }
    }
  }
  return null;
}