previous method
Implementation
Future<void> previous({Duration restartThreshold = const Duration(seconds: 3)}) async {
if (value.position > restartThreshold) {
await seek(Duration.zero);
return;
}
await jumpTo(_previousIndex());
}
Future<void> previous({Duration restartThreshold = const Duration(seconds: 3)}) async {
if (value.position > restartThreshold) {
await seek(Duration.zero);
return;
}
await jumpTo(_previousIndex());
}