isBluetoothAvailable method

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

Check if Bluetooth is available on the device

Implementation

@override
Future<bool> isBluetoothAvailable() async {
  final result = await methodChannel.invokeMethod<bool>('isBluetoothAvailable');
  return result ?? false;
}