disconnect method
Implementation
Future disconnect() async {
await sd?.disconnect();
await remote?.disconnect();
await _remoteConnectionListener?.cancel();
await _sdConnectionListener?.cancel();
}
Future disconnect() async {
await sd?.disconnect();
await remote?.disconnect();
await _remoteConnectionListener?.cancel();
await _sdConnectionListener?.cancel();
}