updates property
listen for ServiceData updates from foreground service
Implementation
static Stream<Map<String, dynamic>?> get updates {
try {
//dirty fix
getData();
} catch (e, stacktrace) {
print(e);
print(stacktrace);
}
return _serviceDataStreamController.stream;
}