isBleTurnedOnStream property

Stream<bool> get isBleTurnedOnStream

Implementation

Stream<bool> get isBleTurnedOnStream {
  return FlutterBluePlus.adapterState.map(
    (event) {
      return event == BluetoothAdapterState.on;
    },
  );
}