hasBluetooth static method

Future<bool> hasBluetooth()

Implementation

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