disconnect method

Future disconnect()

Implementation

Future disconnect() async {
  if (pushChatSocket != null) {
    pushChatSocket!.disconnect();
  }

  if (pushNotificationSocket != null) {
    pushNotificationSocket!.disconnect();
  }
}