isOpen property

bool isOpen

True if the interval is open (both start and end are null).

Implementation

bool get isOpen => startTime == null && endTime == null;