playAudio method
Implementation
void playAudio(String filePath) {
if (kIsWeb && filePath.isNotEmpty) {
audioService.playLocalFile(filePath);
return;
}
mobileAudioPlayer.open(
Audio(filePath),
autoStart: true,
showNotification: false,
);
}