onReceiveDone method

void onReceiveDone()

Implementation

void onReceiveDone() async {
  _stopPing();
  _connected = false;
  _socket = null;

  _functionDisconnect();

  if (_disconnect) {
    return;
  }

  return;
}