next property Null safety

E? next

The successor of this element in its linked list.

The value is 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;
}