bluetoothState property

Future<BluetoothState> bluetoothState

Check for the latest BluetoothState from device.

Implementation

Future<BluetoothState> get bluetoothState async {
  final status = await _methodChannel.invokeMethod('bluetoothState');
  return BluetoothState.parse(status);
}