videoDuration property
Duration
get
videoDuration
The video duration in seconds.
This getter will return Duration.zero if the asset if not video.
See also:
- duration which is the duration of the asset, but in different units.
Implementation
Duration get videoDuration => Duration(seconds: duration);