stopDiscovery static method

Future<bool> stopDiscovery()

Implementation

static Future<bool> stopDiscovery() async {
  try {
    return await _platform.stopDiscovery();
  } catch (e) {
    if (kDebugMode) print('Error stopping discovery: $e');
    return false;
  }
}