Create a new measurement based on data.
data
Measurement({required this.sensorStartTime, this.sensorEndTime, required this.data});