clear method

  1. @override
void clear()
override

Removes all elements in the queue. The size of the queue becomes zero.

Implementation

@override
void clear() {
  _base.clear();
}