representation method
Return a string representing the compression tree in its current state
Implementation
String representation() {
final ts = StringBuffer();
for (var row = 0; row < longestColumn(); row++) {
for (var col = columns.length - 1; col >= 0; col--) {
final colList = columns[col].toList();
if (row < colList.length) {
ts.write('\t${colList[row]}');
} else {
ts.write('\t');
}
}
ts.write('\n');
}
return ts.toString();
}