writeln method

Future writeln([
  1. String string = ""
])

writes the given string to the console

Implementation

Future writeln([String string = ""]) async {
  await write(_utf8Encoder.convert('$string\n'));
}