turnOffSpeaker method

Future<void> turnOffSpeaker()

Implementation

Future<void> turnOffSpeaker() async {
  if (haveBluetooth()) {
    await AudioManager().switchToBluetooth();
  } else {
    await AudioManager().switchToEarpiece();
  }
}