format method

String format (List<RetracedLine> trace)

Implementation

String format(List<RetracedLine> trace){
  return new JsonEncoder.withIndent('  ')
      .convert(trace.map(_lineToJson).toList());
}