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