rowAt method

VlJson rowAt(
  1. int index
)

The row at an index, growing the dataset with empty rows if it is not there yet.

index A zero-based row number.

Returns The row object, which can be written into directly.

Implementation

VlJson rowAt(int index) {
  while (rows.length <= index) {
    rows.add(VlJson.objectValue());
  }
  return rows[index];
}