disconnect method

Future disconnect()

Implementation

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