expectedDataStreams property
The set of expected data streams from this device deployment.
Implementation
Set<ExpectedDataStream> get expectedDataStreams {
if (_expectedDataStreams == null) {
_expectedDataStreams = {};
for (var control in taskControls) {
control.task ??= getTaskByName(control.taskName);
for (var type in control.task!.getAllExpectedDataTypes()) {
_expectedDataStreams!.add(ExpectedDataStream(
dataType: type,
deviceRoleName: control.destinationDeviceRoleName!,
));
}
}
}
return _expectedDataStreams!;
}