get method

  1. @nonVirtual
T get(
  1. int row,
  2. int col
)

Returns the scalar at the provided row and col index. Throws a RangeError if row or col are outside of bounds.

Implementation

@nonVirtual
T get(int row, int col) {
  RangeError.checkValidIndex(row, this, 'row', rowCount);
  RangeError.checkValidIndex(col, this, 'col', colCount);
  return getUnchecked(row, col);
}