VoltageMeasurement.fromJson constructor
Implementation
factory VoltageMeasurement.fromJson(Map<String, dynamic> json) =>
VoltageMeasurement(
timeSinceSampleStart: Duration(
milliseconds:
((json['timeSinceSampleStart'] as double) * 1000).toInt(),
),
values: Map.from(json['values']),
);