state property

Future<BluetoothState> state

State of the Bluetooth adapter.

Implementation

Future<BluetoothState> get state async => BluetoothState.fromUnderlyingValue(
    await _methodChannel.invokeMethod('getState'));