empty property
Return true
if this is empty, i.e. [a..a)
.
Only a range with bounds at both ends, i.e. Interval, can be empty.
final interval = Interval.openClosed(1, 1);
print(interval.empty); // true
Implementation
@override
bool get empty => min.open == !max.open && min.value == max.value;