onSamplingData method
Handler for handling onData events from the buffering stream.
Implementation
@override
void onSamplingData(dynamic event) {
if (event is NoiseReading) _noiseReadings.add(event);
}
Handler for handling onData events from the buffering stream.
@override
void onSamplingData(dynamic event) {
if (event is NoiseReading) _noiseReadings.add(event);
}