stopDiscovery method
Stops the discovery process. strongly recommended to call this method when the application close the show cast devices dialog for reduce battery consumption.
Implementation
@override
Future<void> stopDiscovery() {
return _channel.invokeMethod('stopDiscovery');
}