stopScan method

Future<void> stopScan()
override

Implementation

Future<void> stopScan() async {
  try {
    print("Calling stop scan");
    methodChannel.invokeMethod('stopScan');
  } on PlatformException catch (e) {
    print("Failed to invoke stopScan: '${e.message}'.");
  }
}