state property

State of the Bluetooth adapter.

Implementation

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