unlink method

  1. @override
void unlink()
override

Unlink the element from its linked list.

The entry must currently be in a linked list when this method is called.

Implementation

@override
void unlink() {
  assert(parent != null);
  parent = null;
  super.unlink();
}