contains method
Detect whether this range contains an element.
that
The other range to check whether it's contained in this range.
Returns true if this range contains single value, false otherwise.
Implementation
bool contains(Object? obj) => _contains(obj);