We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29c4f90 commit b0b175bCopy full SHA for b0b175b
sensors_dashboard/lib/view_model/sensor_graph_screen_viewmodel.dart
@@ -70,7 +70,10 @@ class SensorGraphScreenViewmodel with ChangeNotifier {
70
final data = messageEvent.data.toString();
71
final json = jsonDecode(data);
72
73
- // TODO : unable to read read json array into List<Double>
+ // TODO : Fix unable to read parsed json
74
+ // Its weird that json = jsonDecode(data) is successfully parsed
75
+ // but json["timestamp"] is causing error but json["timestamp"].toString() is not
76
+ // same issue with json["values"]
77
List<double> values = json["values"]
78
.toString()
79
.replaceAll("[", "")
0 commit comments