setCells method
Batch set many cell values in a single RPC.
Implementation
Future<void> setCells(List<CellTextEntry> cells) async {
if (cells.isEmpty) return;
final req = UpdateCellsRequest()..gridId = _gridId;
for (final cell in cells) {
req.cells.add(CellUpdate()
..row = cell.row
..col = cell.col
..value = (CellValue()..text = cell.text));
}
await VolvoxGridService.UpdateCells(req);
notifyListeners();
}