checkDeviceIsSpeaker method
Implementation
bool checkDeviceIsSpeaker({required AudioDevice device}) {
if (device.type == AudioDeviceType.builtInSpeaker) {
return true;
}
return false;
}
bool checkDeviceIsSpeaker({required AudioDevice device}) {
if (device.type == AudioDeviceType.builtInSpeaker) {
return true;
}
return false;
}