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

Iterates over the given objects and writes them in sequence.

If separator is provided, a write with the separator is performed between any two elements of objects.

This operation is non-blocking. See flush or done for how to get any errors generated by this call.

Source

/**
 * Iterates over the given [objects] and [write]s them in sequence.
 *
 * If [separator] is provided, a `write` with the `separator` is performed
 * between any two elements of `objects`.
 *
 * This operation is non-blocking. See [flush] or [done] for how to get any
 * errors generated by this call.
 */
void writeAll(Iterable objects, [String separator = ""]);