checkDeviceIsBluetooth method
Implementation
bool checkDeviceIsBluetooth({required AudioDevice device}) {
if (device.type == AudioDeviceType.bluetoothA2dp || device.type == AudioDeviceType.bluetoothLe || device.type == AudioDeviceType.bluetoothSco) {
return true;
}
return false;
}