writeln 方法
- [Object? object = ""]
继承自
通过调用 Object.toString 将 object
转换为 String,并将结果写入 this
,然后跟一个换行符。
实现
void writeln([Object? object = ""]) {
_write(object);
_sink.write(_windowsLineTerminator ? "\r\n" : "\n");
_lastWrittenCharIsCR = false;
}