onDone method
OnDone listener callback
Implementation
@override
void onDone() {
_disconnect();
if (onDisconnected != null) {
MqttLogger.log(
'MqttWsConnection::_onDone - calling disconnected callback');
onDisconnected!();
}
}
OnDone listener callback
@override
void onDone() {
_disconnect();
if (onDisconnected != null) {
MqttLogger.log(
'MqttWsConnection::_onDone - calling disconnected callback');
onDisconnected!();
}
}