writeln method

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

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

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

Implementation

@override
void writeln([Object obj = ""]) {
  write(obj.toString());
  write('\r\n');
}