getDuration abstract method

Future<int> getDuration()

Gets the total duration of the media file.

Returns Total duration of the media file (in milliseconds).

Implementation

Future<int> getDuration();