onNewData method
- AutonomyData value
A handler to call when new data arrives. Updates data and the UI.
Implementation
void onNewData(AutonomyData value) {
data = value;
services.files.logData(value);
notifyListeners();
}
A handler to call when new data arrives. Updates data and the UI.
void onNewData(AutonomyData value) {
data = value;
services.files.logData(value);
notifyListeners();
}