effectiveEndTime property

Duration get effectiveEndTime

End of the active range, defaulting to two seconds after the start.

Implementation

Duration get effectiveEndTime =>
    endTime ?? startTime + const Duration(seconds: 2);