stopScan method

Future<void> stopScan()

Implementation

Future<void> stopScan() async {
  await _platform.stopScan();
  await _subscription?.cancel();
  _subscription = null;
}