void remove()

Remove this entry from the history of its associated LocalHistoryRoute.

Source

void remove() {
  _owner.removeLocalHistoryEntry(this);
  assert(_owner == null);
}