void writeln(
[Object obj = ""]
)

Converts obj to a String by invoking Object.toString and adds the result to this, followed by a newline.

Source

void writeln([Object obj = ""]) {
  write(obj);
  write("\n");
}