toggleAudio method
Toggles local audio stream on and off.
Implementation
Future<void> toggleAudio() async {
Log.debug('toggleAudio()', '$runtimeType');
await setAudioEnabled(
audioState.value != LocalTrackState.enabled &&
audioState.value != LocalTrackState.enabling,
);
}