contains method

bool contains(
  1. Object? element
)

Returns true if element is in the set according to the == operator.

Implementation

bool contains(Object? element) => _set.contains(element);