pop method

dynamic pop()

Represent the pop.

Implementation

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