addBlock method
Prints a block of text with the body indented one more level.
Implementation
void addBlock(String start, String end, void Function() body,
{bool endWithNewline = true}) {
println(start);
_addBlockBodyAndEnd(end, body, endWithNewline, '$_indent ');
}