clear method
Clears all the readings from all the samples.
Implementation
void clear() {
for (final sensor in sensors) {
for (final analysis in allSamples[sensor]!) {
analysis.clear();
}
}
isListening = true;
models.home.setMessage(severity: Severity.info, text: "Science UI will update on new data");
}