onSamplingStart method

  1. @override
void onSamplingStart()
override

Handler called when sampling period starts.

Implementation

@override
void onSamplingStart() {
  _startRecordingTime = DateTime.now();
  _noiseReadings.clear();
}