adapterState property

Implementation

static Stream<BluetoothAdapterState> get adapterState async* {
  await _initialize();
  yield _state;
  yield* WinBle.bleState.asBroadcastStream().map(
    (s) {
      _state = s.toAdapterState();
      return _state;
    },
  );
}