clear method
Clears all the readings from all the samples.
Implementation
void clear() {
voltageReadings.clear();
currentReadings.clear();
leftSpeeds.clear();
rightSpeeds.clear();
firstTimestamp = null;
notifyListeners();
}
Clears all the readings from all the samples.
void clear() {
voltageReadings.clear();
currentReadings.clear();
leftSpeeds.clear();
rightSpeeds.clear();
firstTimestamp = null;
notifyListeners();
}