stopScan method

void stopScan()

Stops the ongoing Bluetooth device scan.

This method halts any active scanning for nearby Bluetooth devices initiated by the application. Once called, the application will no longer receive scan results until a new scan is started.

Note: It is important to call this method when scanning is no longer needed to conserve device resources and prevent unnecessary Bluetooth activity.

Implementation

void stopScan() {
  FlutterBluePlus.stopScan();
}