previous property Null safety

E? previous

Return the predecessor of this element in its linked list.

Returns 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;
}