moveRow method

Future<bool> moveRow({
  1. required int from,
  2. required int to,
  3. int count = 1,
})

Moves rows.

from - index of a first row to move, rows start at index 1

count - optional (defaults to 1), the number of rows to move

to - new index of a last row moved must be in a range from from to from + count

Returns Future true in case of success.

Throws GSheetsException.

Implementation

Future<bool> moveRow({
  required int from,
  required int to,
  int count = 1,
}) {
  return _moveDimension(dimenRows, from, to, count);
}