writeln method

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

See StringSink.writeln.

Implementation

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