writeln abstract method Null safety

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

Writes object followed by a newline, "\n".

Calling writeln(null) will write the "null" string before the newline.

Implementation

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