isScanningStream property

  1. @override
Stream<bool> get isScanningStream
override

Stream indicating the scanning status.

Implementation

@override
Stream<bool> get isScanningStream {
  return scanningChannel
      .receiveBroadcastStream()
      .map((event) => event == true);
}