next property Null safety

E next

Return the successor of this element in its linked list.

Returns null if there is no successor in the linked list, or if this entry is not currently in any list.

Implementation

E? get next {
  if (_list == null || identical(_list!.first, _next)) return null;
  return _next;
}