writeEndBlock method

void writeEndBlock()

ends a code block or a class body, etc.

Implementation

void writeEndBlock() {
  write("}");
}