observeBluetoothState abstract method

Stream<BluetoothState> observeBluetoothState({
  1. bool emitCurrentValue = true,
})

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});