mergeCells method

Future<void> mergeCells(
  1. int row1,
  2. int col1,
  3. int row2,
  4. int col2,
)

Merge cells in the given range.

Implementation

Future<void> mergeCells(int row1, int col1, int row2, int col2) async {
  await VolvoxGridService.MergeCells(MergeCellsRequest()
    ..gridId = _gridId
    ..range = (CellRange()
      ..row1 = row1
      ..col1 = col1
      ..row2 = row2
      ..col2 = col2));
  notifyListeners();
}