addLast method Null safety
- E value
override
Adds value
at the end of the queue.
Implementation
void addLast(E value) {
_sentinel._prepend(value);
_elementCount++;
}
Adds value
at the end of the queue.
void addLast(E value) {
_sentinel._prepend(value);
_elementCount++;
}