writeln method

  1. @override
void writeln([
  1. String text = ''
])
override

Writes text to the terminal followed by a newline.

Implementation

@override
void writeln([String text = '']) =>
    write('$text${io.Platform.lineTerminator}');