clearRow method
Clears specified row.
row
- index of a row to clear,
rows start at index 1
fromColumn
- optional (defaults to 1), index of a column that the row
will be cleared from (values before fromColumn
will remain uncleared),
columns start at index 1 (column A)
count
- number of rows to clear
length
- optional (defaults to -1), number of cells to clear in the row
Returns Future true
in case of success.
Throws GSheetsException.
Implementation
Future<bool> clearRow(
int row, {
int fromColumn = 1,
int length = -1,
int count = 1,
}) async {
checkIndex('row', row);
checkIndex('fromColumn', fromColumn);
checkIndex('count', count);
return _clear(await _allRowsRange(row, fromColumn, length, count));
}