addUnindentedBlock method

void addUnindentedBlock(
  1. String start,
  2. String end,
  3. void body(), {
  4. bool endWithNewline = true,
})

Prints a block of text with an unindented body. (For example, for triple quotes.)

Implementation

void addUnindentedBlock(String start, String end, void Function() body,
    {bool endWithNewline = true}) {
  println(start);
  _addBlockBodyAndEnd(end, body, endWithNewline, '');
}