void writeln(
[Object obj = ""]
)

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

Source

external void writeln([Object obj = ""]);