contains method

bool contains(
  1. Object value
)

Tells whether value has been visited already.

Implementation

bool contains(Object value) {
  return _set.contains(value);
}