stopDiscoveryController method
Implementation
static Future<void> stopDiscoveryController() async {
try {
await _channel.invokeMethod('stopDiscoveryController');
} on PlatformException catch (e) {
print('error stopping discovery: ${e.details}');
}
}