duration property

double? duration

Total duration of the effect. If the duration cannot be determined, this will return null. For an infinite effect the duration is infinity.

Implementation

double? get duration;