writeln method

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

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

Implementation

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