/Dart 2

previous property

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.


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.