pushAll method

void pushAll(
  1. Iterable<E> elements
)

push all elements in the top of the stack.

Implementation

void pushAll(Iterable<E> elements) {
  for (var element in elements) {
    push(element);
  }
}