initialize method
Initialize the data manager by specifying the study deployment id, the
DataEndPoint
, and the stream of DataPoint
events to handle.
Implementation
@override
Future initialize(
String studyDeploymentId,
DataEndPoint dataEndPoint,
Stream<DataPoint> data,
) async {
super.initialize(studyDeploymentId, dataEndPoint, data);
assert(dataEndPoint is FirebaseDataEndPoint);
firebaseEndPoint = (dataEndPoint as FirebaseDataEndPoint).firebaseEndPoint;
}