removeCurrent method

void removeCurrent()

Implementation

void removeCurrent() {
  parent?.child = child;
  child?.parent = parent;
  _remove();
}