finish method

void finish()

Finishes the bar with a trailing newline (no-op when disabled).

Implementation

void finish() {
  if (_enabled) _out.write('\n');
}