initialize method Null safety

void initialize(
  1. Measure measure

Initialize the probe before starting it.

The configuration of the probe is specified in the measure. The study deployment that this probe is part of can be specified as the studyDeploymentId.


void initialize(Measure measure) {
  _measure = measure;
  if (measure is CAMSMeasure) measure.addMeasureListener(this);
  return _stateMachine.initialize(measure);