prepared method

String prepared(
  1. bool isMD
)

If output file is MD, that makes a table out of TODO

Implementation

String prepared(bool isMD) {
  if (isMD) {
    return '| **[$fileName]($fileName): $line** | $content |\n';
  } else {
    return '$fileName:$line\n$content\n\n';
  }
}