getRow method

List<Cell> getRow(
  1. int rowNum
)

Returns a list of Cell at row # rowNum

Implementation

List<Cell> getRow(int rowNum) {
  throwIfInvalid(new Position(row: rowNum, column: 0));
  return _matrix![rowNum];
}