previous property Null safety

E? previous

The predecessor of this element in its linked list.

The value is null if there is no predecessor in the linked list, or if this entry is not currently in any list.

Implementation

E? get previous {
  if (_list == null || identical(this, _list!.first)) return null;
  return _previous;
}