prependAll method

Iterable<T> prependAll (
  1. Iterable<T> other
)

Inserts all elements in an iterable at the beginning of this iterable.

This is a convenience method that is identical to calling other.followedBy(iterable).

Implementation

Iterable<T> prependAll(Iterable<T> other) {
  checkNullError(this);
  ArgumentError.checkNotNull(other, 'other');
  return other.followedBy(this);
}