toggleAudio method

void toggleAudio(
  1. bool val
)

Implementation

void toggleAudio(bool val) {
  audioEnabled = val;
}