setRows method
Replace all rows programmatically (e.g. load from a data source). Records one undo step by default.
Implementation
void setRows(List<EditableRow> rows, {bool record = true}) {
final next = rows.isEmpty ? [blankRow()] : rows;
_apply(next, record: record);
}