containsValue method
Checks if this interval contains a specific value.
Implementation
bool containsValue(int value) {
if (isBottom) return false;
if (min != null && value < min!) return false;
if (max != null && value > max!) return false;
return true;
}