lookup method
If an object equal to element
is in the set, return it.
Checks whether element
is in the set, like contains, and if so,
returns the object in the set, otherwise returns null
.
Implementation
@override
T? lookup(Object? element) {
assert(_debugAssertNotDisposed());
return _set!.lookup(element);
}