DataPointHeader constructor
DataPointHeader({})
Create a new DataPointHeader.
Implementation
DataPointHeader({
this.studyId,
this.userId,
this.dataFormat,
this.deviceRoleName,
this.triggerId,
this.startTime,
this.endTime,
}) {
// make sure that timestamps are in UTC
if (startTime != null) startTime!.toUtc();
if (endTime != null) endTime!.toUtc();
}