stopDiscovery method

Future<bool> stopDiscovery()

Stop discovery

Implementation

Future<bool> stopDiscovery() async {
  try {
    return await _channel.invokeMethod('stopDiscovery');
  } catch (e) {
    throw BluetoothException('Failed to stop discovery: $e');
  }
}