stopPlaying method
Stops playing the voice.
Implementation
Future stopPlaying() async {
_player.pause();
playStatus = PlayStatus.stop;
}
Stops playing the voice.
Future stopPlaying() async {
_player.pause();
playStatus = PlayStatus.stop;
}