isInfinite property

bool get isInfinite

Whether duration is double.infinity.

Implementation

bool get isInfinite => duration == double.infinity;