addFirst method
- E entry
Adds entry
to the beginning of the linked list.
Implementation
void addFirst(E entry) {
_insertBefore(_first, entry, updateFirst: true);
_first = entry;
}
Adds entry
to the beginning of the linked list.
void addFirst(E entry) {
_insertBefore(_first, entry, updateFirst: true);
_first = entry;
}