addFirst method Null safety
- E value
override
Adds value
at the beginning of the queue.
Implementation
void addFirst(E value) {
_sentinel._append(value);
_elementCount++;
}
Adds value
at the beginning of the queue.
void addFirst(E value) {
_sentinel._append(value);
_elementCount++;
}