I am using audio_service
package for playing background audio.Now, I want to stop the currently playing playlist or audio after certain time set by the user. Is there any better approach of doing this?
I have implemented the code provided in the example folder by the author.