Measurement constructor

Measurement({
  1. required int sensorStartTime,
  2. int? sensorEndTime,
  3. required Data data,
})

Create a new measurement based on data.

Implementation

Measurement({
  required this.sensorStartTime,
  this.sensorEndTime,
  required this.data,
});