switchSpeakerAction method

void switchSpeakerAction()

Implementation

void switchSpeakerAction() {
  RoomStore.to.audioSetting.isSoundOnSpeaker.value =
      !RoomStore.to.audioSetting.isSoundOnSpeaker.value;
  _engineManager
      .setAudioRoute(RoomStore.to.audioSetting.isSoundOnSpeaker.value);
}