writeln method Null safety

void writeln (
  1. [Object? obj = ""]
)

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

Implementation

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