onAudioModeButtonPressed method
void
onAudioModeButtonPressed()
Implementation
void onAudioModeButtonPressed() {
if (isRecording == false) {
enableAudio = !enableAudio;
if (controller != null) {
_initCameraController(controller!.description);
}
}
}