writeln method Null safety

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

See IOSink.writeln from dart:io.

Implementation

void writeln([Object? object = '']) {
  write(object);
  write('\n');
}