pop method

dynamic pop()

Represent the pop.

Implementation

dynamic pop() {
  return queue.removeFirst();
}