unlink method Null safety

void unlink()

Unlink the element from its linked list.

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

Implementation

void unlink() {
  _list!._unlink(this as E);
}