SensorReading constructor

const SensorReading({
  1. required double time,
  2. required double value,
})

A const constructor.

Implementation

const SensorReading({required this.time, required this.value});