setProgress method
Sends an update on the progress of the content video.
When using a Timer
to periodically send updates through this method, an
interval of 200ms is recommended.
Implementation
Future<void> setProgress({
required Duration progress,
required Duration duration,
}) {
return platform.setProgress(progress: progress, duration: duration);
}