insertBefore method
Insert an element before this element in this element's linked list.
This entry must be in a linked list when this method is called.
The entry
must not be in a linked list.
Implementation
@override
void insertBefore(Node entry) {
assert(entry.parent == null && parent != null);
entry.parent = parent;
super.insertBefore(entry);
clearLengthCache();
}