addRowsBatch method

void addRowsBatch(
  1. List<CyberDataRow> rows
)

✅ NEW: Add multiple rows in batch (no notifications until done)

Implementation

void addRowsBatch(List<CyberDataRow> rows) {
  if (_isDisposed) return;
  if (rows.isEmpty) return;

  beginBatch();
  try {
    for (var row in rows) {
      _rows.add(row);
      row.addListener(_onRowChanged);
    }
  } finally {
    endBatch();
  }
}