pause method
Pauses playing the stream associated with this object
Implementation
Future<void> pause() async {
if (!_stopped && _playing) {
await _pool.pause(stream);
_playing = false;
}
}
Pauses playing the stream associated with this object
Future<void> pause() async {
if (!_stopped && _playing) {
await _pool.pause(stream);
_playing = false;
}
}