advertisements property
the advertisements stream emits AdvertisementReceivedEvent
s
for devices found through requestLEScan.
The device that is in this event is a AdvertisementBluetoothDevice this bluetooth device lacks a gatt server and can thus not communicate with any BluetoothCharacteristics. Use requestAdvertisementDevice to get a BluetoothDevice based on the AdvertisementBluetoothDevice.
Even if the browser doesn't support requestLEScan this stream will not throw an Error. It will just never emit any events since you can't start a scan.
Implementation
@override
Stream<AdvertisementReceivedEvent<AdvertisementBluetoothDevice>>
get advertisements => const Stream.empty();