isBluetoothSupported method

Future<bool> isBluetoothSupported()

Check if Bluetooth is supported on the device

Implementation

Future<bool> isBluetoothSupported() async {
  try {
    return await _channel.invokeMethod('isBluetoothSupported');
  } catch (e) {
    throw BluetoothException('Failed to check Bluetooth support: $e');
  }
}