duration property
The duration of the asset, but in different units.
- AssetType.audio is in milliseconds.
- 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;