dequeue method

QueuedRequest? dequeue()

Removes and returns the next request from the queue

Implementation

QueuedRequest? dequeue() {
  if (_queue.isEmpty) return null;
  return _queue.removeFirst();
}