play method
Implementation
Future<void> play() async {
if (value.position == value.duration) {
await seekTo(const Duration());
}
value = value.copyWith(isPlaying: true);
await _applyPlayPause();
}
Future<void> play() async {
if (value.position == value.duration) {
await seekTo(const Duration());
}
value = value.copyWith(isPlaying: true);
await _applyPlayPause();
}