previous property

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-collection/LinkedListEntry/previous.html