disconnect method
Implementation
@override
void disconnect() {
try {
_client!.disconnect();
_messagesController?.close();
} catch (e) {
debugPrint(e.toString());
}
_client = null;
_clientId = null;
}
@override
void disconnect() {
try {
_client!.disconnect();
_messagesController?.close();
} catch (e) {
debugPrint(e.toString());
}
_client = null;
_clientId = null;
}