clear method
override
Removes all the elements from this queue.
Implementation
@override
void clear() {
_modificationCount++;
_queue = const [];
_length = 0;
}
Removes all the elements from this queue.
@override
void clear() {
_modificationCount++;
_queue = const [];
_length = 0;
}