getState method

Stream<AdapterState> getState()

Streams the power state of the manager over time.

You must use this to verify AdapterState.poweredOn before calling scan or connect.

Implementation

Stream<AdapterState> getState() => _BlePlatform.instance.centralManagerGetState();