duration property
The duration of the asset in seconds for audio and video assets.
- AssetType.audio is in seconds.
- AssetType.video is in seconds.
- AssetType.image and AssetType.other are Always 0.
See also:
- videoDuration which is a duration getter for videos.
Implementation
final int duration;