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