writeLines method

void writeLines(
  1. Iterable<String> strings
)

Writes the provided strings to the sink, each followed by a newline.

This method is non-blocking and may be buffered.

Implementation

void writeLines(Iterable<String> strings) {
  for (final string in strings) {
    writeLine(string);
  }
}