peripheralsStream property
Stream of lists of available Peripheral devices.
Implementation
@override
Stream<List<Peripheral>> get peripheralsStream {
return peripheralChannel.receiveBroadcastStream().map((event) {
final maps = _convertToListMap(event);
return maps.map((map) => Peripheral.fromJson(map)).toList();
});
}