hasBluetooth static method
Implementation
static Future<bool> hasBluetooth() async {
if (!kIsWeb) {
final List<ConnectivityResult> connectivityResult = await Connectivity().checkConnectivity();
return connectivityResult.contains(ConnectivityResult.bluetooth);
}
return true;
}