onSamplingData method
Handler for handling onData events from the buffering stream.
Implementation
@override
void onSamplingData(event) {
if (event is List<ScanResult>) {
(_datum as BluetoothDatum).addBluetoothDevicesFromScanResults(event);
}
}