isBluetoothEnabled static method

Future<bool> isBluetoothEnabled()

手机蓝牙是否打开

Implementation

static Future<bool> isBluetoothEnabled() async {
  final bool enabled = await _channel.invokeMethod('isBluetoothEnabled');
  return enabled;
}