isBluetoothEnabled method

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

Check if Bluetooth is enabled

Implementation

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