onSamplingEnd method
Handler called when sampling period ends.
Implementation
@override
void onSamplingEnd() {
FlutterBluePlus.stopScan();
if (_data is Bluetooth) (_data as Bluetooth).endScan = DateTime.now();
}
Handler called when sampling period ends.
@override
void onSamplingEnd() {
FlutterBluePlus.stopScan();
if (_data is Bluetooth) (_data as Bluetooth).endScan = DateTime.now();
}