void writeAll(Iterable objects, [String separator = ""])

Iterates over the given objects and writes them in sequence.

Source

void writeAll(Iterable objects, [String separator = ""]);