dart / 2.17.0 / dart-core / stringsink / writeln.html /

writeln method

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 = ""]);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.17.0/dart-core/StringSink/writeln.html