addln method

void addln(
  1. String text
)

Add text with a newline.

Implementation

void addln(String text) {
  _sink.write(text + newline);
}