IterableUtils<E> extension

Miscellaneous utility methods for Iterable.

on

Methods

drain() → void
Iterates over all elements, discarding the results.
padLeft(int totalLength, {required E padValue}) Iterable<E>
Pads elements to the beginning of this Iterable to make it have the specified length.
padRight(int totalLength, {required E padValue}) Iterable<E>
Pads elements to the end of this Iterable to make it have the specified length.
startsWith(Iterable<E> other) bool
Returns true if this starts with other in order.