removeRows method

Future<void> removeRows(
  1. int index, {
  2. int count = 1,
})

Remove count rows starting at index.

Implementation

Future<void> removeRows(int index, {int count = 1}) async {
  await VolvoxGridService.RemoveRows(RemoveRowsRequest()
    ..gridId = _gridId
    ..index = index
    ..count = count);
  notifyListeners();
}