void writeln(
[Object obj = ""]
)

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

Source

/**
 * Converts [obj] to a String by invoking [Object.toString] and
 * adds the result to `this`, followed by a newline.
 */
void writeln([Object obj = ""]);