onDone method

  1. @override
void onDone()
override

OnDone listener callback

Implementation

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