servicesStream property
- @Deprecated("planed for removal (Jan 2024). It can be easily implemented yourself")
override
Stream of bluetooth services offered by the remote device
- this stream is only updated when you call discoverServices()
Implementation
@Deprecated(
"planed for removal (Jan 2024). It can be easily implemented yourself") // deprecated on Aug 2023
Stream<List<BluetoothService>> get servicesStream {
if (FlutterBluePlusWindows._knownServices[remoteId] != null) {
return _services.stream.newStreamWithInitialValue(
FlutterBluePlusWindows._knownServices[remoteId]!,
);
} else {
return _services.stream;
}
}