observeBluetoothState abstract method
Returns a stream of changes to the state of the Bluetooth adapter.
By default starts the stream with the current state, but this can
overridden by passing false
as emitCurrentValue
.
Implementation
Stream<BluetoothState> observeBluetoothState({bool emitCurrentValue = true});