toggleMuteAudio method
Implementation
Future<void> toggleMuteAudio() async {
var status = await Permission.microphone.status;
if (status.isDenied) {
await Permission.microphone.request();
}
print("audioMute$isAudioMute");
await EnxRtc.muteSelfAudio(!isAudioMute);
}