pushAll method

void pushAll(
  1. Stack<E> other
)

Pushes all elements of other to the stack.

Implementation

void pushAll(Stack<E> other) => _list.addAll(other._list);