contains method

bool contains(
  1. Object? entry
)
override

Whether entry is a LinkedListEntry belonging to this list.

The entry is considered as belonging to this list if its LinkedListEntry.list is this list.

Implementation

bool contains(Object? entry) =>
    entry is LinkedListEntry && identical(this, entry.list);