empty property

  1. @override
bool get empty
override

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 => false;