duration property

double get duration

The duration property of the MediaSource interface gets and sets the duration of the current media being presented.

Implementation

external double get duration;
set duration (num value)

Implementation

external set duration(num value);