overlaps method
Returns true if the interval defined by the points
left
and right
overlaps this
.
Implementation
@override
bool overlaps(num left, num right) {
if (left.isNaN || right.isNaN) {
return false;
} else {
return true;
}
}