selectionAsTsv method
Serialize the current SELECTION (rows or a cell rectangle, per mode) to TSV; falls back to the active cursor cell when nothing is selected.
Implementation
String selectionAsTsv({bool includeHeader = false}) {
if (selectionIsRowMode && _selRows.isNotEmpty) return rowsAsTsv(_selRows, includeHeader: includeHeader);
if (selectionIsCellMode && _selCells.isNotEmpty) return cellsAsTsv(_selCells);
return cellsAsTsv([_sel]);
}