render method

String render(
  1. Comparison table
)

The whole table at once.

Implementation

String render(Comparison table) {
  final out = StringBuffer(header(table));
  for (final g in table.groups) {
    out.write(group(table, g));
  }
  out.write(footer(table));
  return out.toString();
}