factory DataPoint.fromJson(Map<String, dynamic> json) { return DataPoint( timestamp: nonNullableTimeStampFromJson(json['Timestamp'] as Object), value: json['Value'] as double, ); }