playbackDuration property

Duration? playbackDuration
final

Playback duration of the item in seconds. If it is larger than the actual duration - startTime it will be limited to the actual duration - startTime. It can be negative, in such case the duration will be the actual item duration minus the duration provided. A duration of value zero effectively means that the item will not be played.

Implementation

final Duration? playbackDuration;