newRow method

Adds a new row to the end and returns a builder for that row.

Implementation

MatrixCursorDataRowBuilder newRow() {
  final int row = _rowCount;
  _rowCount += 1;
  final int endIndex = _rowCount * _columnCount;
  _ensureCapacity(endIndex);
  return MatrixCursorDataRowBuilder._(row, this);
}