isBluetoothSupported method

  1. @override
Future<bool> isBluetoothSupported()
override

Check if Bluetooth is supported

Implementation

@override
Future<bool> isBluetoothSupported() async {
  try {
    final result = await _methodChannel.invokeMethod<bool>('isBluetoothSupported');
    return result ?? false;
  } catch (e) {
    throw BluetoothException('Failed to check Bluetooth support: $e');
  }
}