writeAll method

void writeAll(
  1. Iterable<String> strings,
  2. [String separator = '']
)

Writes the provided strings to the sink.

Optionally, a separator may be provided to join the strings.

This method is non-blocking and may be buffered.

Implementation

void writeAll(Iterable<String> strings, [String separator = '']) {
  write(strings.join(separator));
}