updateData method
Updates the graph using addMessage with the latest data from metrics.
Implementation
void updateData() {
if (!isListening) return;
addMessage(metrics.data.wrap());
notifyListeners();
}
Updates the graph using addMessage with the latest data from metrics.
void updateData() {
if (!isListening) return;
addMessage(metrics.data.wrap());
notifyListeners();
}