data property

  1. @override
Stream<DataPoint> get data
override

Get the aggregated stream of DataPoint data sampled by all executors and probes in this study deployment.

Ensures that the userId and studyId is correctly set in the DataPointHeader based on the deployment configuration.

Implementation

@override
Stream<DataPoint> get data => group.stream.map((dataPoint) => dataPoint
  ..carpHeader.studyId = deployment?.studyDeploymentId
  ..carpHeader.userId = deployment?.userId);