clear method
Removes all elements in the queue. The size of the queue becomes zero.
Implementation
@override
void clear() {
if (super.isNotEmpty) {
super.clear();
notifyListeners();
}
}
Removes all elements in the queue. The size of the queue becomes zero.
@override
void clear() {
if (super.isNotEmpty) {
super.clear();
notifyListeners();
}
}