stopscan method

Future<void> stopscan()

Implementation

Future<void> stopscan() async {
  if (!isInitialized) {
    throw Exception('WindowBluetoothManager is not initialized');
  }
  WinBle.stopScanning();
  subscription?.cancel();
}