deleteRow method
Deletes rows from Worksheet.
row
- index of a row to delete,
rows start at index 1
count
- optional (defaults to 1), the number of rows to delete
starting from row
Returns Future true
in case of success.
Throws GSheetsException.
Implementation
Future<bool> deleteRow(int row, {int count = 1}) async {
checkIndex('row', row);
final isDeleted = await _deleteDimension(dimenRows, row, count);
if (isDeleted) {
_rowCount = _rowCount - count;
}
return isDeleted;
}