addAnnotatedBlock method
void
addAnnotatedBlock(
- String start,
- String end,
- List<
NamedLocation> namedLocations, - void body(), {
- bool endWithNewline = true,
Implementation
void addAnnotatedBlock(String start, String end,
List<NamedLocation> namedLocations, void Function() body,
{bool endWithNewline = true}) {
printlnAnnotated(start, namedLocations);
_addBlockBodyAndEnd(end, body, endWithNewline, '$_indent ');
}