clear method Null safety
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;
}