clear method

void clear()

Clears all the readings from all the samples.

Implementation

void clear() {
    voltageReadings.clear();
    currentReadings.clear();
    leftSpeeds.clear();
    rightSpeeds.clear();
    firstTimestamp = null;
    notifyListeners();
}